/external/guice/core/test/com/google/inject/util/ |
D | TypesTest.java | 23 import static com.google.inject.util.Types.subtypeOf; 119 assertEqualsBothWays(getWildcard("wildcardExtends"), subtypeOf(CharSequence.class)); in testWildcardTypes() 120 assertEqualsBothWays(getWildcard("wildcardObject"), subtypeOf(Object.class)); in testWildcardTypes() 123 assertEquals("? extends java.lang.CharSequence", subtypeOf(CharSequence.class).toString()); in testWildcardTypes() 124 assertEquals("?", subtypeOf(Object.class).toString()); in testWildcardTypes() 127 assertEqualWhenReserialized(subtypeOf(CharSequence.class)); in testWildcardTypes() 140 subtypeOf(int.class); in testWildcardBoundsMustNotBePrimitives()
|
/external/javassist/src/main/javassist/ |
D | CtArray.java | 63 public boolean subtypeOf(CtClass clazz) throws NotFoundException { in subtypeOf() method in CtArray 64 if (super.subtypeOf(clazz)) in subtypeOf() 73 if (intfs[i].subtypeOf(clazz)) in subtypeOf() 77 && getComponentType().subtypeOf(clazz.getComponentType()); in subtypeOf()
|
D | SerialVersionUID.java | 66 return clazz.subtypeOf(pool.get("java.io.Serializable")); in isSerializable()
|
D | CtClass.java | 330 public boolean subtypeOf(CtClass clazz) throws NotFoundException { in subtypeOf() method in CtClass
|
D | CtClassType.java | 297 public boolean subtypeOf(CtClass clazz) throws NotFoundException { in subtypeOf() method in CtClassType 314 if (supername != null && classPool.get(supername).subtypeOf(clazz)) in subtypeOf() 318 if (classPool.get(ifs[i]).subtypeOf(clazz)) in subtypeOf()
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | TypesTest.java | 185 Type wildcard = Types.subtypeOf(Number.class); in testNewArrayType_upperBoundedWildcard() 186 assertEquals(Types.subtypeOf(Number[].class), Types.newArrayType(wildcard)); in testNewArrayType_upperBoundedWildcard() 232 Types.subtypeOf(Object.class); in testNewWildcardType() 234 Types.subtypeOf(int[][].class); in testNewWildcardType() 253 Types.subtypeOf(int.class); in testNewWildcardType_primitiveTypeBound() 262 Types.subtypeOf(String.class)); in testNewWildcardType_serializable() 264 Types.subtypeOf(Object.class)); in testNewWildcardType_serializable()
|
D | TypeTokenTest.java | 456 TypeToken.of(Types.subtypeOf(Object.class)).getGenericSuperclass()); in testGetGenericSuperclass_wildcard_boundIsClass() 458 TypeToken.of(Types.subtypeOf(Object[].class)).getGenericSuperclass()); in testGetGenericSuperclass_wildcard_boundIsClass() 462 assertNull(TypeToken.of(Types.subtypeOf(CharSequence.class)).getGenericSuperclass()); in testGetGenericSuperclass_wildcard_boundIsInterface() 464 TypeToken.of(Types.subtypeOf(CharSequence[].class)).getGenericSuperclass()); in testGetGenericSuperclass_wildcard_boundIsInterface() 524 assertThat(TypeToken.of(Types.subtypeOf(Object.class)).getGenericInterfaces()).isEmpty(); in testGetGenericInterfaces_wildcard_boundIsClass() 525 assertThat(TypeToken.of(Types.subtypeOf(Object[].class)).getGenericInterfaces()).isEmpty(); in testGetGenericInterfaces_wildcard_boundIsClass() 530 makeUnmodifiable(TypeToken.of(Types.subtypeOf(interfaceType.getType())).getGenericInterfaces()) in testGetGenericInterfaces_wildcard_boundIsInterface() 601 Type wildcardType = Types.subtypeOf(Object[].class); in testAssignableWildcardBoundedByArrayToArrayClass() 609 TypeToken<?> upperBounded = TypeToken.of(Types.subtypeOf(Object[].class)); in testAssignableArrayClassToBoundedWildcard() 621 Type wildcardType = Types.subtypeOf(int[].class); in testAssignableWildcardBoundedByIntArrayToArrayClass() [all …]
|
D | TypeVisitorTest.java | 57 WildcardType type = Types.subtypeOf(String.class); in testVisitWildcardType()
|
D | TypeResolverTest.java | 114 assertEquals(Types.subtypeOf(String.class), new TypeResolver() in testWhere_parameterizedTypeMapping()
|
/external/guice/core/test/com/google/inject/ |
D | TypeLiteralTest.java | 66 TypeLiteral<?> b = TypeLiteral.get(Types.listOf(Types.subtypeOf(CharSequence.class))); in testWithWildcardType() 108 TypeLiteral.get(Types.subtypeOf(Runnable.class)); in testTypeLiteralsMustHaveRawTypes()
|
D | TypeLiteralInjectionTest.java | 83 assertEquals(TypeLiteral.get(listOf(Types.subtypeOf(Integer.class))), b.listOfWildcardT); in testInjectTypeLiteralWithClassTypes()
|
D | KeyTest.java | 142 assertNotSerializable(Key.get(Types.listOf(Types.subtypeOf(CharSequence.class)))); in testSerialization()
|
/external/guice/core/src/com/google/inject/util/ |
D | Types.java | 80 public static WildcardType subtypeOf(Type bound) { in subtypeOf() method in Types
|
/external/guava/guava/src/com/google/common/reflect/ |
D | Types.java | 80 return subtypeOf(newArrayType(upperBounds[0])); in newArrayType() 165 @VisibleForTesting static WildcardType subtypeOf(Type upperBound) { in subtypeOf() method in Types 225 return subtypeOf(componentType); in subtypeOfComponentType()
|
/external/javassist/src/main/javassist/convert/ |
D | TransformCall.java | 90 if (clazz.subtypeOf(declClazz)) in matchClass()
|
/external/guice/core/src/com/google/inject/ |
D | TypeLiteral.java | 237 return Types.subtypeOf(upperBound); in resolveType()
|
/external/javassist/src/main/javassist/tools/reflect/ |
D | Reflection.java | 247 boolean addMeta = !clazz.subtypeOf(mlevel); in modifyClassfile()
|
/external/javassist/src/main/javassist/bytecode/stackmap/ |
D | TypeData.java | 274 if (cache2.subtypeOf(cache)) { in update()
|
/external/javassist/src/main/javassist/compiler/ |
D | MemberResolver.java | 247 if (clazz.subtypeOf(lookupClassByJvmName(cname))) in compareSignature()
|
/external/javassist/src/main/javassist/bytecode/analysis/ |
D | Type.java | 267 return type.clazz.subtypeOf(clazz); in isAssignableFrom()
|