Home
last modified time | relevance | path

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

12

/external/r8/src/main/java/com/android/tools/r8/ir/desugar/
DClassProcessor.java63 DexType superType = clazz.superType; in process() local
64 if (superType != null && superType != rewriter.factory.objectType) { in process()
65 process(rewriter.findRequiredClass(superType)); in process()
125 DexType superType = current.superType; in collectMethodsToImplement() local
126 if (superType == null || superType == rewriter.factory.objectType) { in collectMethodsToImplement()
132 current = rewriter.findRequiredClass(superType); in collectMethodsToImplement()
150 DexType superType = current.superType; in collectMethodsToImplement() local
151 if (superType == null || superType == rewriter.factory.objectType) { in collectMethodsToImplement()
159 current = rewriter.findRequiredClass(superType); in collectMethodsToImplement()
DLambdaDescriptor.java355 DexItemFactory factory, DexType subType, DexType superType) { in isSameOrDerived() argument
356 if (subType == superType || (subType.isClassType() && superType.isClassType())) { in isSameOrDerived()
361 if (superType.isArrayType()) { in isSameOrDerived()
364 subType.toArrayElementType(factory), superType.toArrayElementType(factory)); in isSameOrDerived()
366 return superType == factory.objectType; // T[] -> Object. in isSameOrDerived()
/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/r8/src/main/java/com/android/tools/r8/graph/
DDexType.java145 self = holder.superType; in isSubtypeOfClass()
391 DexType superType; in validateLevelsAreCorrect() local
394 superType = next == dexItemFactory.objectType ? null : dexItemFactory.objectType; in validateLevelsAreCorrect()
396 superType = nextHolder.superType; in validateLevelsAreCorrect()
400 if (superType == null) { in validateLevelsAreCorrect()
403 assert superType.hierarchyLevel == next.hierarchyLevel - 1 in validateLevelsAreCorrect()
404 || superType.hierarchyLevel == ROOT_LEVEL && next.hierarchyLevel == INTERFACE_LEVEL; in validateLevelsAreCorrect()
405 assert superType.directSubtypes.contains(next); in validateLevelsAreCorrect()
DAppInfoWithSubtyping.java49 private void populateSuperType(Hashtable<DexType, Set<DexType>> map, DexType superType, in populateSuperType() argument
51 if (superType != null) { in populateSuperType()
52 Set<DexType> set = map.computeIfAbsent(superType, ignore -> new HashSet<>()); in populateSuperType()
55 populateAllSuperTypes(map, superType, baseClass, definitions); in populateSuperType()
65 populateSuperType(map, holderClass.superType, baseClass, definitions); in populateAllSuperTypes()
66 if (holderClass.superType != null) { in populateAllSuperTypes()
67 holderClass.superType.addDirectSubtype(holder); in populateAllSuperTypes()
DDexClass.java24 public DexType superType; field in DexClass
34 DexString sourceFile, DexTypeList interfaces, DexAccessFlags accessFlags, DexType superType, in DexClass() argument
42 this.superType = superType; in DexClass()
49 if (type == superType) { in DexClass()
DAppInfo.java194 if (holder.superType == null) { in lookupTargetAlongSuperChain()
197 holder = definitionFor(holder.superType); in lookupTargetAlongSuperChain()
217 if (holder.superType != null) { in lookupTargetAlongSuperAndInterfaceChain()
218 result = lookupTargetAlongSuperAndInterfaceChain(holder.superType, desc, lookup); in lookupTargetAlongSuperAndInterfaceChain()
275 if (holder.superType != null) { in lookupTargetAlongInterfaceChain()
276 S localResult = lookupTargetAlongInterfaceChain(holder.superType, desc, lookup); in lookupTargetAlongInterfaceChain()
332 type = clazz.superType; in getSuperTypeClasses()
DClassKind.java15 DexType superType, in create() argument
30 DexType type, Resource.Kind origin, DexAccessFlags accessFlags, DexType superType, in create() argument
34 return factory.create(type, origin, accessFlags, superType, interfaces, sourceFile, in create()
DDexProgramClass.java19 DexType superType, in DexProgramClass() argument
27 super(sourceFile, interfaces, accessFlags, superType, type, staticFields, in DexProgramClass()
36 if (superType != null) { in collectIndexedItems()
37 superType.collectIndexedItems(indexedItems); in collectIndexedItems()
DDexClasspathClass.java15 DexType superType, DexTypeList interfaces, DexString sourceFile, DexAnnotationSet annotations, in DexClasspathClass() argument
18 super(sourceFile, interfaces, accessFlags, superType, type, in DexClasspathClass()
DDexLibraryClass.java15 DexType superType, DexTypeList interfaces, DexString sourceFile, DexAnnotationSet annotations, in DexLibraryClass() argument
18 super(sourceFile, interfaces, accessFlags, superType, type, in DexLibraryClass()
DProgramClassVisitor.java59 accept(clazz.superType); in accept()
DJarClassFileReader.java105 private DexType superType; field in JarClassFileReader.CreateDexClassVisitor
182 superType = superName == null ? null : application.getTypeFromName(superName); in visit()
256 superType, in visitEnd()
DDexApplication.java226 builder.append(clazz.superType.toSmaliString()); in writeClassHeader()
/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/r8/src/main/java/com/android/tools/r8/optimize/
DMemberRebindingAnalysis.java74 if (clazz.superType != null) { in firstLibraryClassForInterfaceTarget()
75 DexType matchingSuper = firstLibraryClassForInterfaceTarget(target, clazz.superType, lookup); in firstLibraryClassForInterfaceTarget()
95 searchClass = appInfo.definitionFor(searchClass.superType); in firstLibraryClass()
159 if (originalClass.superType.isSubtypeOf(targetClass.type, appInfo)) { in findBridgeMethodHolder()
160 DexClass superClass = appInfo.definitionFor(originalClass.superType); in findBridgeMethodHolder()
/external/r8/src/main/java/com/android/tools/r8/shaking/
DRootSetBuilder.java75 type = clazz.superType; in anySuperTypeMatches()
97 if (clazz.superType == null) { in anyImplementedInterfaceMatches()
100 DexClass superClass = application.definitionFor(clazz.superType); in anyImplementedInterfaceMatches()
143 anySuperTypeMatches(clazz.superType, rule.getInheritanceClassName(), in process()
251 clazz = application.definitionFor(clazz.superType); in markMatchingVisibleMethods()
DSimpleClassMerger.java254 target.superType = source.superType; in merge()
269 source.superType = application.dexItemFactory.objectType; in merge()
DEnqueuer.java343 if (holder.superType != null) { in markTypeAsLive()
344 markTypeAsLive(holder.superType); in markTypeAsLive()
480 type = clazz.superType; in transitionMethodsForInstantiatedClass()
502 type = clazz.superType; in transitionFieldsForInstantiatedClass()
/external/dexmaker/dexmaker/src/main/java/com/android/dx/stock/
DProxyBuilder.java271 TypeId<T> superType = TypeId.get(baseClass); in buildProxyClass() local
272 generateConstructorsAndFields(dexMaker, generatedType, superType, baseClass); in buildProxyClass()
274 generateCodeForAllMethods(dexMaker, generatedType, methodsToProxy, superType); in buildProxyClass()
275 …dexMaker.declare(generatedType, generatedName + ".generated", PUBLIC, superType, getInterfacesAsTy… in buildProxyClass()
584 TypeId<G> generatedType, TypeId<T> superType, Class<T> superClass) { in generateConstructorsAndFields() argument
605 MethodId<T, ?> superConstructor = superType.getConstructor(types); in generateConstructorsAndFields()
/external/r8/src/test/java/com/android/tools/r8/regress/
DRegress37740372.java122 assertNull(clazz.getDexClass().superType); in assertIsJavaLangObjet()
/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/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 …]
/external/r8/src/main/java/com/android/tools/r8/dex/
DVirtualFile.java915 assert clazz.superType != null || clazz.type == dexItemFactory.objectType; in call()
918 assert clazz.superType != null; in call()

12