Home
last modified time | relevance | path

Searched refs:superType (Results 1 – 25 of 54) sorted by relevance

123

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/type/
DWildcardType.java55 private ReferenceType superType; field in WildcardType
66 …public WildcardType(final ReferenceType extendedType, final ReferenceType superType, final NodeLis… in WildcardType() argument
67 this(null, extendedType, superType, annotations); in WildcardType()
74 …public WildcardType(TokenRange tokenRange, ReferenceType extendedType, ReferenceType superType, No… in WildcardType() argument
77 setSuperType(superType); in WildcardType()
100 return Optional.ofNullable(superType); in getSuperType()
129 public WildcardType setSuperType(final ReferenceType superType) { in setSuperType() argument
130 if (superType == this.superType) { in setSuperType()
133 notifyPropertyChange(ObservableProperty.SUPER_TYPE, this.superType, superType); in setSuperType()
134 if (this.superType != null) in setSuperType()
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/module/
DSimpleAbstractTypeResolver.java52 public <T> SimpleAbstractTypeResolver addMapping(Class<T> superType, Class<? extends T> subType) in addMapping() argument
55 if (superType == subType) { in addMapping()
58 if (!superType.isAssignableFrom(subType)) { in addMapping()
59 throw new IllegalArgumentException("Cannot add mapping from class "+superType.getName() in addMapping()
62 if (!Modifier.isAbstract(superType.getModifiers())) { in addMapping()
63 throw new IllegalArgumentException("Cannot add mapping from class "+superType.getName() in addMapping()
66 _mappings.put(new ClassKey(superType), subType); in addMapping()
DSimpleModule.java362 public <T> SimpleModule addAbstractTypeMapping(Class<T> superType, in addAbstractTypeMapping() argument
365 _checkNotNull(superType, "abstract type to map"); in addAbstractTypeMapping()
371 _abstractTypes = _abstractTypes.addMapping(superType, subType); in addAbstractTypeMapping()
/external/objenesis/main/src/main/java/org/objenesis/instantiator/gcj/
DGCJSerializationInstantiator.java33 private Class<? super T> superType; field in GCJSerializationInstantiator
37 this.superType = SerializationInstantiatorHelper.getNonSerializableSuperClass(type); in GCJSerializationInstantiator()
43 return type.cast(newObjectMethod.invoke(dummyStream, type, superType)); in newInstance()
/external/dagger2/java/dagger/internal/codegen/validation/
DTypeHierarchyValidator.java49 for (TypeMirror superType : types.directSupertypes(currType)) { in validateTypeHierarchy()
50 if (queued.add(MoreTypes.equivalence().wrap(superType))) { in validateTypeHierarchy()
51 queue.add(superType); in validateTypeHierarchy()
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/
DForwardsInvocations.java62 private static boolean compatibleReturnTypes(Class<?> superType, Class<?> subType) { in compatibleReturnTypes() argument
63 return superType.equals(subType) || superType.isAssignableFrom(subType); in compatibleReturnTypes()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/
DTestUtils.java43 …public static ClassDef makeClassDef(@Nonnull String classType, @Nullable String superType, String.… in makeClassDef() argument
44 return new ImmutableClassDef(classType, 0, superType, ImmutableSet.copyOf(interfaces), in makeClassDef()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserAnonymousClassDeclaration.java41 ClassOrInterfaceType superType = wrappedNode.getType(); in JavaParserAnonymousClassDeclaration() local
42 String superTypeName = superType.getName().getId(); in JavaParserAnonymousClassDeclaration()
43 if (superType.getScope().isPresent()) { in JavaParserAnonymousClassDeclaration()
44 superTypeName = superType.getScope().get().asString() + "." + superTypeName; in JavaParserAnonymousClassDeclaration()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/type/
DTestTypeFactory.java352 JavaType superType = subtype.getSuperClass(); in testCollectionTypesRefined() local
353 assertNotNull(superType); in testCollectionTypesRefined()
354 assertEquals(AbstractList.class, superType.getRawClass()); in testCollectionTypesRefined()
421 JavaType superType = subtype.getSuperClass(); in testMapTypesRefined() local
422 assertNotNull(superType); in testMapTypesRefined()
423 assertEquals(HashMap.class, superType.getRawClass()); in testMapTypesRefined()
425 assertEquals(String.class, superType.getKeyType().getRawClass()); in testMapTypesRefined()
426 assertEquals(List.class, superType.getContentType().getRawClass()); in testMapTypesRefined()
427 assertEquals(Integer.class, superType.getContentType().getContentType().getRawClass()); in testMapTypesRefined()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DFieldGen.java199 final Type superType = super.getType(); in checkType() local
200 if (superType == null) { in checkType()
206 if (!superType.equals(atype)) { in checkType()
207 throw new ClassGenException("Types are not compatible: " + superType + " vs. " + atype); in checkType()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/
DTestCustomTypeIdResolver.java66 protected final Class<?> superType; field in TestCustomTypeIdResolver.TestCustomResolverBase
70 superType = baseType; in TestCustomResolverBase()
77 if (superType.isAssignableFrom(value.getClass())) { in idFromValue()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionClassAdapter.java39 java.lang.reflect.Type superType = clazz.getGenericSuperclass(); in getSuperClass() local
40 if (superType instanceof ParameterizedType) { in getSuperClass()
41 ParameterizedType parameterizedType = (ParameterizedType) superType; in getSuperClass()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionClassAdapter.java39 java.lang.reflect.Type superType = clazz.getGenericSuperclass(); in getSuperClass() local
40 if (superType instanceof ParameterizedType) { in getSuperClass()
41 ParameterizedType parameterizedType = (ParameterizedType) superType; in getSuperClass()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/
DAnnotatedClassResolver.java177 final JavaType superType = type.getSuperClass(); in _addSuperTypes() local
178 if (superType != null) { in _addSuperTypes()
179 _addSuperTypes(superType, result, true); in _addSuperTypes()
/external/auto/value/src/main/java/com/google/auto/value/extension/memoized/processor/
DMemoizeExtension.java165 .superclass(superType()) in generate()
186 private TypeName superType() { in superType() method in MemoizeExtension.Generator
187 ClassName superType = ClassName.get(context.packageName(), classToExtend); in superType() local
191 ? superType in superType()
192 : ParameterizedTypeName.get(superType, typeVariableNames.toArray(new TypeName[] {})); in superType()
/external/dexmaker/dexmaker/src/main/java/com/android/dx/stock/
DProxyBuilder.java291 TypeId<T> superType = TypeId.get(baseClass); in buildProxyClass() local
292 generateConstructorsAndFields(dexMaker, generatedType, superType, baseClass); in buildProxyClass()
316 generateCodeForAllMethods(dexMaker, generatedType, methodsToProxy, superType); in buildProxyClass()
317 …dexMaker.declare(generatedType, generatedName + ".generated", PUBLIC, superType, getInterfacesAsTy… in buildProxyClass()
687 TypeId<G> generatedType, TypeId<T> superType, Class<T> superClass) { in generateConstructorsAndFields() argument
708 MethodId<T, ?> superConstructor = superType.getConstructor(types); in generateConstructorsAndFields()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/module/
DTestCustomEnumKeyDeserializer.java219 SuperType superType = mapper.readValue("{\"someMap\": {\"FOO\": \"bar\"}}", in testCustomEnumKeySerializerWithPolymorphic() local
222 superType.someMap.get(SuperTypeEnum.FOO)); in testCustomEnumKeySerializerWithPolymorphic()
/external/dokka/core/src/main/kotlin/Java/
DJavaPsiDocumentationBuilder.kt214 superTypes.filter { !ignoreSupertype(it) }.forEach { superType -> in appendFile() method
215 node.appendType(superType, NodeKind.Supertype) in appendFile()
216 val superClass = superType.resolve() in appendFile()
/external/turbine/java/com/google/turbine/processing/
DTurbineElements.java179 for (ClassSymbol superType : factory.cha().transitiveSupertypes(s)) { in getAllMembers()
184 for (Element el : factory.typeElement(superType).getEnclosedElements()) { in getAllMembers()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DMethodAnalyzer.java1807 TypeProto superType;
1811 superType = classPath.getClass(superclassType);
1814 superType = typeProto;
1817 resolvedMethod = superType.getMethodByVtableIndex(methodIndex);
1987 String superType = typeProto.getSuperclass();
1988 if (superType == null) {
1991 typeProto = classPath.getClass(superType);
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/type/
DTypeFactory.java597 JavaType superType = baseType.findSuperType(superClass); in constructGeneralizedType() local
598 if (superType == null) { in constructGeneralizedType()
609 return superType; in constructGeneralizedType()
/external/llvm-project/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp2704 QualType superType = getSuperStructType(); in SynthMessageExpr() local
2711 DeclRefExpr(*Context, SuperConstructorFunctionDecl, false, superType, in SynthMessageExpr()
2714 CallExpr::Create(*Context, DRE, InitExprs, superType, VK_LValue, in SynthMessageExpr()
2727 Context->getPointerType(superType), in SynthMessageExpr()
2735 = Context->getTrivialTypeSourceInfo(superType); in SynthMessageExpr()
2737 superType, VK_LValue, in SynthMessageExpr()
2800 QualType superType = getSuperStructType(); in SynthMessageExpr() local
2807 DeclRefExpr(*Context, SuperConstructorFunctionDecl, false, superType, in SynthMessageExpr()
2810 CallExpr::Create(*Context, DRE, InitExprs, superType, VK_LValue, in SynthMessageExpr()
2823 Context->getPointerType(superType), in SynthMessageExpr()
[all …]
DRewriteModernObjC.cpp3274 QualType superType = getSuperStructType(); in SynthMessageExpr() local
3281 DeclRefExpr(*Context, SuperConstructorFunctionDecl, false, superType, in SynthMessageExpr()
3284 CallExpr::Create(*Context, DRE, InitExprs, superType, VK_LValue, in SynthMessageExpr()
3297 Context->getPointerType(superType), in SynthMessageExpr()
3305 = Context->getTrivialTypeSourceInfo(superType); in SynthMessageExpr()
3307 superType, VK_LValue, in SynthMessageExpr()
3370 QualType superType = getSuperStructType(); in SynthMessageExpr() local
3377 DeclRefExpr(*Context, SuperConstructorFunctionDecl, false, superType, in SynthMessageExpr()
3380 CallExpr::Create(*Context, DRE, InitExprs, superType, VK_LValue, in SynthMessageExpr()
3393 Context->getPointerType(superType), in SynthMessageExpr()
[all …]
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp2693 QualType superType = getSuperStructType(); in SynthMessageExpr() local
2700 false, superType, VK_LValue, in SynthMessageExpr()
2703 superType, VK_LValue, in SynthMessageExpr()
2716 Context->getPointerType(superType), in SynthMessageExpr()
2724 = Context->getTrivialTypeSourceInfo(superType); in SynthMessageExpr()
2726 superType, VK_LValue, in SynthMessageExpr()
2788 QualType superType = getSuperStructType(); in SynthMessageExpr() local
2795 false, superType, VK_LValue, in SynthMessageExpr()
2798 superType, VK_LValue, SourceLocation()); in SynthMessageExpr()
2810 Context->getPointerType(superType), in SynthMessageExpr()
[all …]
DRewriteModernObjC.cpp3273 QualType superType = getSuperStructType(); in SynthMessageExpr() local
3280 false, superType, VK_LValue, in SynthMessageExpr()
3283 superType, VK_LValue, in SynthMessageExpr()
3296 Context->getPointerType(superType), in SynthMessageExpr()
3304 = Context->getTrivialTypeSourceInfo(superType); in SynthMessageExpr()
3306 superType, VK_LValue, in SynthMessageExpr()
3368 QualType superType = getSuperStructType(); in SynthMessageExpr() local
3375 false, superType, VK_LValue, in SynthMessageExpr()
3378 superType, VK_LValue, SourceLocation()); in SynthMessageExpr()
3390 Context->getPointerType(superType), in SynthMessageExpr()
[all …]

123