/external/guava/android/guava/src/com/google/common/reflect/ |
D | TypeToken.java | 272 TypeToken<?> supertype = of(getCovariantTypeResolver().resolveType(type)); in resolveSupertype() local 274 supertype.covariantTypeResolver = covariantTypeResolver; in resolveSupertype() 275 supertype.invariantTypeResolver = invariantTypeResolver; in resolveSupertype() 276 return supertype; in resolveSupertype() 398 TypeToken<? super T> supertype = in getSupertype() local 400 return supertype; in getSupertype() 473 public final boolean isSubtypeOf(Type supertype) { in isSubtypeOf() argument 474 checkNotNull(supertype); in isSubtypeOf() 475 if (supertype instanceof WildcardType) { in isSubtypeOf() 479 return any(((WildcardType) supertype).getLowerBounds()).isSupertypeOf(runtimeType); in isSubtypeOf() [all …]
|
/external/guava/guava/src/com/google/common/reflect/ |
D | TypeToken.java | 272 TypeToken<?> supertype = of(getCovariantTypeResolver().resolveType(type)); in resolveSupertype() local 274 supertype.covariantTypeResolver = covariantTypeResolver; in resolveSupertype() 275 supertype.invariantTypeResolver = invariantTypeResolver; in resolveSupertype() 276 return supertype; in resolveSupertype() 396 TypeToken<? super T> supertype = in getSupertype() local 398 return supertype; in getSupertype() 471 public final boolean isSubtypeOf(Type supertype) { in isSubtypeOf() argument 472 checkNotNull(supertype); in isSubtypeOf() 473 if (supertype instanceof WildcardType) { in isSubtypeOf() 477 return any(((WildcardType) supertype).getLowerBounds()).isSupertypeOf(runtimeType); in isSubtypeOf() [all …]
|
/external/dagger2/java/dagger/internal/codegen/javapoet/ |
D | TypeSpecs.java | 34 public static TypeSpec.Builder addSupertype(TypeSpec.Builder typeBuilder, TypeElement supertype) { in addSupertype() argument 35 switch (supertype.getKind()) { in addSupertype() 37 return typeBuilder.superclass(ClassName.get(supertype)); in addSupertype() 39 return typeBuilder.addSuperinterface(ClassName.get(supertype)); in addSupertype() 41 throw new AssertionError(supertype + " is neither a class nor an interface."); in addSupertype()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ext/ |
D | OptionalHandlerFactory.java | 191 …for (Class<?> supertype = rawType.getSuperclass(); supertype != null; supertype = supertype.getSup… in hasSuperClassStartingWith() 192 if (supertype == Object.class) { in hasSuperClassStartingWith() 195 if (supertype.getName().startsWith(prefix)) { in hasSuperClassStartingWith()
|
/external/dagger2/javatests/dagger/internal/codegen/javapoet/ |
D | ExpressionTest.java | 53 TypeMirror supertype = type(Supertype.class); in castTo() local 56 Expression castTo = expression.castTo(supertype); in castTo() 58 assertThat(castTo.type()).isSameInstanceAs(supertype); in castTo()
|
/external/dexmaker/dexmaker/src/main/java/com/android/dx/ |
D | DexMaker.java | 233 TypeId<?> supertype, TypeId<?>... interfaces) { in declare() argument 246 declaration.supertype = supertype; in declare() 358 if (decl.supertype != null) { in generateFileName() 359 int sum = 31 * decl.supertype.hashCode() + decl.interfaces.hashCode(); in generateFileName() 556 private TypeId<?> supertype; field in DexMaker.TypeDeclaration 580 classDefItem = new ClassDefItem(thisType, flags, supertype.constant, in toClassDefItem()
|
/external/guava/android/guava-tests/test/com/google/common/reflect/ |
D | TypeTokenSubtypeTest.java | 51 TypeToken<?> supertype = new TypeToken<Mall<Outdoor>.Shop<Electronics>>() {}; in testSubtypeOfInnerClass_nonStaticAnonymousClass() local 53 assertTrue(TypeToken.of(subclass).isSubtypeOf(supertype)); in testSubtypeOfInnerClass_nonStaticAnonymousClass() 57 TypeToken<?> supertype = new TypeToken<Mall<Outdoor>.Shop<Electronics>>() {}; in testSubtypeOfInnerClass_nonStaticAnonymousClass_typeParameterOfOwnerTypeNotMatch() local 59 assertFalse(TypeToken.of(subclass).isSubtypeOf(supertype)); in testSubtypeOfInnerClass_nonStaticAnonymousClass_typeParameterOfOwnerTypeNotMatch() 63 TypeToken<?> supertype = new TypeToken<Mall<Outdoor>.Shop<Electronics>>() {}; in testSubtypeOfInnerClass_nonStaticAnonymousClass_typeParameterOfInnerTypeNotMatch() local 65 assertFalse(TypeToken.of(subclass).isSubtypeOf(supertype)); in testSubtypeOfInnerClass_nonStaticAnonymousClass_typeParameterOfInnerTypeNotMatch() 69 TypeToken<?> supertype = new TypeToken<Mall<Outdoor>.Shop<Electronics>>() {}; in testSubtypeOfInnerClass_staticAnonymousClass() local 71 assertTrue(TypeToken.of(subclass).isSubtypeOf(supertype)); in testSubtypeOfInnerClass_staticAnonymousClass()
|
D | TypeTokenTest.java | 1279 TypeToken<TwoTypeArgs<?, ?>> supertype = new TypeToken<TwoTypeArgs<?, ?>>() {}; in testGetSubtype_toWildcard() local 1282 assertTrue(subtype.isSubtypeOf(supertype)); in testGetSubtype_toWildcard() 1284 new TypeToken<StringForFirstTypeArg<?>>() {}, supertype.getSubtype(subtype.getRawType())); in testGetSubtype_toWildcard() 1296 TypeToken<TwoTypeArgs<?, ?>.InnerType<?, ?>> supertype = in testGetSubtype_innerTypeOfGenericClassTranslatesOwnerTypeVars() local 1300 assertTrue(subtype.isSubtypeOf(supertype)); in testGetSubtype_innerTypeOfGenericClassTranslatesOwnerTypeVars() 1302 (ParameterizedType) supertype.getSubtype(subtype.getRawType()).getType(); in testGetSubtype_innerTypeOfGenericClassTranslatesOwnerTypeVars() 1321 TypeToken<TwoTypeArgs<?, ? extends Number>> supertype = in testGetSubtype_toWildcardWithBounds() local 1325 assertTrue(subtype.isSubtypeOf(supertype)); in testGetSubtype_toWildcardWithBounds() 1328 TypeToken<?> unused = supertype.getSubtype(subtype.getRawType()); in testGetSubtype_toWildcardWithBounds() 1333 TypeToken<Base> supertype = new TypeToken<Base>() {}; in testGetSubtype_baseClassWithNoTypeArgs() local [all …]
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | TypeTokenSubtypeTest.java | 51 TypeToken<?> supertype = new TypeToken<Mall<Outdoor>.Shop<Electronics>>() {}; in testSubtypeOfInnerClass_nonStaticAnonymousClass() local 53 assertTrue(TypeToken.of(subclass).isSubtypeOf(supertype)); in testSubtypeOfInnerClass_nonStaticAnonymousClass() 57 TypeToken<?> supertype = new TypeToken<Mall<Outdoor>.Shop<Electronics>>() {}; in testSubtypeOfInnerClass_nonStaticAnonymousClass_typeParameterOfOwnerTypeNotMatch() local 59 assertFalse(TypeToken.of(subclass).isSubtypeOf(supertype)); in testSubtypeOfInnerClass_nonStaticAnonymousClass_typeParameterOfOwnerTypeNotMatch() 63 TypeToken<?> supertype = new TypeToken<Mall<Outdoor>.Shop<Electronics>>() {}; in testSubtypeOfInnerClass_nonStaticAnonymousClass_typeParameterOfInnerTypeNotMatch() local 65 assertFalse(TypeToken.of(subclass).isSubtypeOf(supertype)); in testSubtypeOfInnerClass_nonStaticAnonymousClass_typeParameterOfInnerTypeNotMatch() 69 TypeToken<?> supertype = new TypeToken<Mall<Outdoor>.Shop<Electronics>>() {}; in testSubtypeOfInnerClass_staticAnonymousClass() local 71 assertTrue(TypeToken.of(subclass).isSubtypeOf(supertype)); in testSubtypeOfInnerClass_staticAnonymousClass()
|
D | TypeTokenTest.java | 1279 TypeToken<TwoTypeArgs<?, ?>> supertype = new TypeToken<TwoTypeArgs<?, ?>>() {}; in testGetSubtype_toWildcard() local 1282 assertTrue(subtype.isSubtypeOf(supertype)); in testGetSubtype_toWildcard() 1284 new TypeToken<StringForFirstTypeArg<?>>() {}, supertype.getSubtype(subtype.getRawType())); in testGetSubtype_toWildcard() 1296 TypeToken<TwoTypeArgs<?, ?>.InnerType<?, ?>> supertype = in testGetSubtype_innerTypeOfGenericClassTranslatesOwnerTypeVars() local 1300 assertTrue(subtype.isSubtypeOf(supertype)); in testGetSubtype_innerTypeOfGenericClassTranslatesOwnerTypeVars() 1302 (ParameterizedType) supertype.getSubtype(subtype.getRawType()).getType(); in testGetSubtype_innerTypeOfGenericClassTranslatesOwnerTypeVars() 1321 TypeToken<TwoTypeArgs<?, ? extends Number>> supertype = in testGetSubtype_toWildcardWithBounds() local 1325 assertTrue(subtype.isSubtypeOf(supertype)); in testGetSubtype_toWildcardWithBounds() 1328 TypeToken<?> unused = supertype.getSubtype(subtype.getRawType()); in testGetSubtype_toWildcardWithBounds() 1333 TypeToken<Base> supertype = new TypeToken<Base>() {}; in testGetSubtype_baseClassWithNoTypeArgs() local [all …]
|
/external/dagger2/javatests/dagger/internal/codegen/ |
D | DelegateBindingExpressionTest.java | 447 JavaFileObject supertype = in noCast_rawTypes_Provider_get_toInaccessibleType() local 502 .compile(supertype, subtype, usesSupertype, module, component); in noCast_rawTypes_Provider_get_toInaccessibleType() 756 JavaFileObject supertype = in inlineFactoryOfInacessibleType() local 798 .compile(supertype, injectableSubtype, module, component); in inlineFactoryOfInacessibleType()
|
D | SubcomponentCreatorValidationTest.java | 833 JavaFileObject supertype = in covariantFactoryMethodReturnType() local 857 Compilation compilation = compile(foo, supertype, subcomponent); in covariantFactoryMethodReturnType() 883 JavaFileObject supertype = in covariantFactoryMethodReturnType_hasNewMethod() local 909 Compilation compilation = compile(foo, bar, supertype, subcomponent); in covariantFactoryMethodReturnType_hasNewMethod() 944 JavaFileObject supertype = in covariantFactoryMethodReturnType_hasNewMethod_buildMethodInherited() local 977 Compilation compilation = compile(foo, bar, supertype, creatorSupertype, subcomponent); in covariantFactoryMethodReturnType_hasNewMethod_buildMethodInherited()
|
D | ComponentCreatorTest.java | 1063 JavaFileObject supertype = in covariantFactoryMethodReturnType() local 1087 Compilation compilation = compile(foo, supertype, component); in covariantFactoryMethodReturnType() 1114 JavaFileObject supertype = in covariantFactoryMethodReturnType_hasNewMethod() local 1140 Compilation compilation = compile(foo, bar, supertype, component); in covariantFactoryMethodReturnType_hasNewMethod() 1176 JavaFileObject supertype = in covariantFactoryMethodReturnType_hasNewMethod_factoryMethodInherited() local 1209 Compilation compilation = compile(foo, bar, supertype, creatorSupertype, component); in covariantFactoryMethodReturnType_hasNewMethod_factoryMethodInherited()
|
D | MembersInjectionTest.java | 1618 JavaFileObject supertype = in publicSupertypeHiddenSubtype() local 1662 .compile(foo, supertype, subtype, injectsSubtype, component); in publicSupertypeHiddenSubtype()
|
/external/guice/core/src/com/google/inject/ |
D | TypeLiteral.java | 237 public TypeLiteral<?> getSupertype(Class<?> supertype) { in getSupertype() argument 239 supertype.isAssignableFrom(rawType), "%s is not a supertype of %s", supertype, this.type); in getSupertype() local 240 return resolve(MoreTypes.getGenericSupertype(type, rawType, supertype)); in getSupertype()
|
/external/dagger2/java/dagger/internal/codegen/validation/ |
D | InjectBindingRegistryImpl.java | 292 for (Optional<DeclaredType> supertype = types.nonObjectSuperclass(type); in tryRegisterMembersInjectedType() 293 supertype.isPresent(); in tryRegisterMembersInjectedType() 294 supertype = types.nonObjectSuperclass(supertype.get())) { in tryRegisterMembersInjectedType() 295 getOrFindMembersInjectionBinding(keyFactory.forMembersInjectedType(supertype.get())); in tryRegisterMembersInjectedType()
|
/external/libchrome/base/ |
D | callback_unittest.nc | 32 // Construction of Callback<A> from Callback<B> if A is supertype of B. 43 // Assignment of Callback<A> from Callback<B> if A is supertype of B.
|
/external/auto/factory/src/main/java/com/google/auto/factory/processor/ |
D | AutoFactoryProcessor.java | 176 TypeElement supertype, Element autoFactoryElement) { in implementationMethods() argument 180 ElementFilter.methodsIn(elements.getAllMembers(supertype))) { in implementationMethods() 184 types, implementationMethod, supertype); in implementationMethods()
|
/external/llvm-project/llvm/test/TableGen/ |
D | cond-subclass.td | 2 // initialize a supertype variable.
|
D | if.td | 77 // supertype variable.
|
/external/guava/guava/src/com/google/common/eventbus/ |
D | SubscriberRegistry.java | 186 for (Class<?> supertype : supertypes) { in getAnnotatedMethodsNotCached() 187 for (Method method : supertype.getDeclaredMethods()) { in getAnnotatedMethodsNotCached()
|
/external/guava/android/guava/src/com/google/common/eventbus/ |
D | SubscriberRegistry.java | 186 for (Class<?> supertype : supertypes) { in getAnnotatedMethodsNotCached() 187 for (Method method : supertype.getDeclaredMethods()) { in getAnnotatedMethodsNotCached()
|
/external/auto/value/src/main/java/com/google/auto/value/processor/ |
D | TypeSimplifier.java | 291 for (TypeMirror supertype : typeUtils.directSupertypes(type)) { in nonPrivateDeclaredTypes() 292 declared.addAll(nonPrivateDeclaredTypes(typeUtils, supertype)); in nonPrivateDeclaredTypes()
|
/external/auto/common/src/main/java/com/google/auto/common/ |
D | Overrides.java | 259 for (TypeMirror supertype : supers) { in erasedParameterTypes() 260 DeclaredType declared = MoreTypes.asDeclared(supertype); in erasedParameterTypes()
|
/external/dagger2/java/dagger/internal/codegen/writing/ |
D | ComponentImplementation.java | 296 public void addSupertype(TypeElement supertype) { in addSupertype() argument 297 TypeSpecs.addSupertype(component, supertype); in addSupertype()
|