Home
last modified time | relevance | path

Searched refs:ancestors (Results 1 – 25 of 81) sorted by relevance

1234

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionClassDeclarationTest.java289 Map<String, ResolvedReferenceType> ancestors = new HashMap<>(); in testAllAncestors() local
290 arraylist.getAllAncestors().forEach(a -> ancestors.put(a.getQualifiedName(), a)); in testAllAncestors()
291 assertEquals(9, ancestors.size()); in testAllAncestors()
294 …nInterfaceDeclaration(RandomAccess.class, typeResolver), typeResolver), ancestors.get("java.util.R… in testAllAncestors()
295 …on.class, typeResolver), ImmutableList.of(typeVariable), typeResolver), ancestors.get("java.util.A… in testAllAncestors()
296 …st.class, typeResolver), ImmutableList.of(typeVariable), typeResolver), ancestors.get("java.util.L… in testAllAncestors()
297 …tionInterfaceDeclaration(Cloneable.class, typeResolver), typeResolver), ancestors.get("java.lang.C… in testAllAncestors()
298 …on.class, typeResolver), ImmutableList.of(typeVariable), typeResolver), ancestors.get("java.util.C… in testAllAncestors()
299 …st.class, typeResolver), ImmutableList.of(typeVariable), typeResolver), ancestors.get("java.util.A… in testAllAncestors()
300 … ReflectionClassDeclaration(Object.class, typeResolver), typeResolver), ancestors.get("java.lang.O… in testAllAncestors()
[all …]
DReflectionInterfaceDeclarationTest.java75 Map<String, ResolvedReferenceType> ancestors = new HashMap<>(); in testAllAncestors() local
76 list.getAllAncestors().forEach(a -> ancestors.put(a.getQualifiedName(), a)); in testAllAncestors()
77 assertEquals(3, ancestors.size()); in testAllAncestors()
80 …on.class, typeResolver), ImmutableList.of(typeVariable), typeResolver), ancestors.get("java.util.C… in testAllAncestors()
81 … ReflectionClassDeclaration(Object.class, typeResolver), typeResolver), ancestors.get("java.lang.O… in testAllAncestors()
82 …le.class, typeResolver), ImmutableList.of(typeVariable), typeResolver), ancestors.get("java.lang.I… in testAllAncestors()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/model/typesystem/
DReferenceTypeTest.java322 List<ResolvedReferenceType> ancestors = right.getAllAncestors(); in testGetAllAncestorsConsideringGenericsCases() local
323 …ResolvedReferenceType moreBazzingAncestor = ancestors.stream().filter(a -> a.getQualifiedName().en… in testGetAllAncestorsConsideringGenericsCases()
468 Map<String, ResolvedReferenceType> ancestors = new HashMap<>(); in testGetAllAncestorsOnRawType() local
469 rawArrayList.getAllAncestors().forEach(a -> ancestors.put(a.getQualifiedName(), a)); in testGetAllAncestorsOnRawType()
470 assertEquals(9, ancestors.size()); in testGetAllAncestorsOnRawType()
473 …nInterfaceDeclaration(RandomAccess.class, typeResolver), typeResolver), ancestors.get("java.util.R… in testGetAllAncestorsOnRawType()
474 …ctCollection.class, typeResolver), ImmutableList.of(tv), typeResolver), ancestors.get("java.util.A… in testGetAllAncestorsOnRawType()
475 …aration(List.class, typeResolver), ImmutableList.of(tv), typeResolver), ancestors.get("java.util.L… in testGetAllAncestorsOnRawType()
476 …tionInterfaceDeclaration(Cloneable.class, typeResolver), typeResolver), ancestors.get("java.lang.C… in testGetAllAncestorsOnRawType()
477 …n(Collection.class, typeResolver), ImmutableList.of(tv), typeResolver), ancestors.get("java.util.C… in testGetAllAncestorsOnRawType()
[all …]
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionClassAdapter.java67 List<ResolvedReferenceType> ancestors = new LinkedList<>(); in getAncestors() local
70 ancestors.add(superClass); in getAncestors()
73 ancestors.add(object); in getAncestors()
75 ancestors.addAll(getInterfaces()); in getAncestors()
76 for (int i = 0; i < ancestors.size(); i++) { in getAncestors()
77 ResolvedReferenceType ancestor = ancestors.get(i); in getAncestors()
79 ancestors.remove(i); in getAncestors()
83 return ancestors; in getAncestors()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/declarations/
DResolvedReferenceTypeDeclaration.java66 List<ResolvedReferenceType> ancestors = new ArrayList<>(); in getAllAncestors() local
70 ancestors.add(ancestor); in getAllAncestors()
72 if (!ancestors.contains(inheritedAncestor)) { in getAllAncestors()
73 ancestors.add(inheritedAncestor); in getAllAncestors()
78 return ancestors; in getAllAncestors()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/model/typesystem/
DReferenceTypeImpl.java193 List<ResolvedReferenceType> ancestors = typeDeclaration.getAllAncestors(); in getAllAncestors() local
195 ancestors = ancestors.stream() in getAllAncestors()
200 ancestors.removeIf(a -> a.getQualifiedName().equals(Object.class.getCanonicalName())); in getAllAncestors()
203 ancestors.add(objectRef); in getAllAncestors()
204 return ancestors; in getAllAncestors()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistInterfaceDeclaration.java161 List<ResolvedReferenceType> ancestors = new ArrayList<>(); in getAncestors() local
165 ancestors.add(superInterfaze); in getAncestors()
170ancestors = ancestors.stream().filter(a -> a.getQualifiedName() != Object.class.getCanonicalName()) in getAncestors()
172ancestors.add(new ReferenceTypeImpl(typeSolver.solveType(Object.class.getCanonicalName()), typeSol… in getAncestors()
173 return ancestors; in getAncestors()
DJavassistEnumDeclaration.java92 List<ResolvedReferenceType> ancestors = new LinkedList<>(); in getAncestors() local
101 ancestors.add(superClassTypeUsage.asReferenceType()); in getAncestors()
109 ancestors.add(interfazeTypeUsage.asReferenceType()); in getAncestors()
116 return ancestors; in getAncestors()
DJavassistClassDeclaration.java176 List<ResolvedReferenceType> ancestors = new LinkedList<>(); in getAncestors() local
178 ancestors.add(getSuperClass()); in getAncestors()
180 ancestors.addAll(getInterfaces()); in getAncestors()
181 return ancestors; in getAncestors()
/external/cldr/tools/java/org/unicode/cldr/tool/resolver/
DCldrResolver.java232 List<CLDRFile> ancestors = new ArrayList<CLDRFile>(); in resolveLocaleInternal() local
237 ancestors.add(resolveLocale(parentLocale)); in resolveLocaleInternal()
272 for (CLDRFile ancestor : ancestors) { in resolveLocaleInternal()
289 if (ancestors.size() > 0) { in resolveLocaleInternal()
290 CLDRFile ancestor = ancestors.get(0); in resolveLocaleInternal()
/external/javaparser/javaparser-symbol-solver-logic/src/main/java/com/github/javaparser/symbolsolver/logic/
DInferenceContext.java75 List<ResolvedReferenceType> ancestors = actualTypeAsReference.getAllAncestors(); in registerCorrespondance() local
77 …List<ResolvedType> correspondingFormalType = ancestors.stream().filter((a) -> a.getQualifiedName()… in registerCorrespondance()
79 ancestors = formalTypeAsReference.getAllAncestors(); in registerCorrespondance()
81 …List<ResolvedType> correspondingActualType = ancestors.stream().filter(a -> a.getQualifiedName().e… in registerCorrespondance()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserEnumDeclaration.java212 List<ResolvedReferenceType> ancestors = new ArrayList<>(); in getAncestors() local
216 ancestors.add(enumClass); in getAncestors()
223ancestors.add(new ReferenceTypeImpl((ResolvedReferenceTypeDeclaration) implementedDeclRef.getCorre… in getAncestors()
226 return ancestors; in getAncestors()
DJavaParserInterfaceDeclaration.java254 List<ResolvedReferenceType> ancestors = new ArrayList<>(); in getAncestors() local
257 ancestors.add(toReferenceType(extended)); in getAncestors()
262 ancestors.add(toReferenceType(implemented)); in getAncestors()
265 return ancestors; in getAncestors()
DJavaParserClassDeclaration.java292 List<ResolvedReferenceType> ancestors = new ArrayList<>(); in getAncestors() local
298 ancestors.add(superclass); in getAncestors()
303 ancestors.add(ancestor); in getAncestors()
308 return ancestors; in getAncestors()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionClassAdapter.txt23 Line 70) ancestors.add(superClass) ==> java.util.List.add(E)
24 Line 73) ancestors.add(object) ==> java.util.List.add(E)
25 …Line 75) ancestors.addAll(getInterfaces()) ==> java.util.List.addAll(java.util.Collection<? extend…
27 Line 76) ancestors.size() ==> java.util.List.size()
28 Line 77) ancestors.get(i) ==> java.util.List.get(int)
33 Line 79) ancestors.remove(i) ==> java.util.List.remove(int)
Dcom_github_javaparser_symbolsolver_javassistmodel_JavassistInterfaceDeclaration.txt47 Line 163) ancestors.add(superInterfaze) ==> java.util.List.add(E)
48 …Line 168) ancestors.stream().filter(a -> a.getQualifiedName() != Object.class.getCanonicalName()).…
49 …Line 168) ancestors.stream().filter(a -> a.getQualifiedName() != Object.class.getCanonicalName()) …
50 Line 168) ancestors.stream() ==> java.util.Collection.stream()
54 …Line 170) ancestors.add(new ReferenceTypeImpl(typeSolver.solveType(Object.class.getCanonicalName()…
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DMembersInjectionBinding.java227 final List<TypeElement> ancestors = new ArrayList<>(); in getInjectionSites() local
233 ancestors.add(MoreElements.asType(type.asElement())); in getInjectionSites()
258 ancestors.indexOf(right.element().getEnclosingElement()), in getInjectionSites()
259 ancestors.indexOf(left.element().getEnclosingElement())) in getInjectionSites()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DBaseTree.cs404 List<ITree> ancestors = new List<ITree>(); in GetAncestors()
408 ancestors.Insert(0, t); // insert at start in GetAncestors()
411 return ancestors; in GetAncestors()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DBaseTree.cs527 List<ITree> ancestors = new List<ITree>(); in GetAncestors()
532 ancestors.Insert( 0, t ); // insert at start in GetAncestors()
535 return ancestors; in GetAncestors()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/tree/
DBaseTree.java353 List<Tree> ancestors = new ArrayList<Tree>(); in getAncestors()
357 ancestors.add(0, t); // insert at start in getAncestors()
360 return ancestors; in getAncestors()
/external/grpc-grpc/src/ruby/lib/grpc/generic/
Dinterceptor_registry.rb37 unless i.class.ancestors.include?(base)
/external/guava/guava/src/com/google/common/reflect/
DClassPath.java337 ImmutableSet<File> ancestors) throws IOException { in scanDirectory() argument
339 if (ancestors.contains(canonical)) { in scanDirectory()
350 .addAll(ancestors) in scanDirectory()
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/tree/
DBaseTree.as279 /** Return a list of all ancestors of this node. The first node of
282 public function get ancestors():Array {
284 var ancestors:Array = new Array();
288 ancestors.unshift(t); // insert at start
291 return ancestors;
DTree.as30 /** Return a list of all ancestors of this node. The first node of
33 function get ancestors():Array;
/external/autotest/utils/
Drun_pylint.py161 node.parent.frame().ancestors())):
373 parent_class_names = {x.name for x in node.parent.frame().ancestors()}

1234