Home
last modified time | relevance | path

Searched refs:getAllAncestors (Results 1 – 25 of 36) sorted by relevance

12

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistClassDeclarationTest.java246 …ableSet.of("com.github.javaparser.ast.Node", "java.lang.Object"), cu.getAllAncestors().stream().ma… in testGetAllAncestors()
438 …loneable", "com.github.javaparser.ast.Node", "java.lang.Object"), cu.getAllAncestors().stream().ma… in testGetAllAncestorsWithoutTypeParameters()
444 assertEquals(12, constructorDeclaration.getAllAncestors().size()); in testGetAllAncestorsWithTypeParameters()
448 ancestor = constructorDeclaration.getAllAncestors().get(0); in testGetAllAncestorsWithTypeParameters()
452 ancestor = constructorDeclaration.getAllAncestors().get(1); in testGetAllAncestorsWithTypeParameters()
455 ancestor = constructorDeclaration.getAllAncestors().get(2); in testGetAllAncestorsWithTypeParameters()
458 ancestor = constructorDeclaration.getAllAncestors().get(3); in testGetAllAncestorsWithTypeParameters()
462 ancestor = constructorDeclaration.getAllAncestors().get(4); in testGetAllAncestorsWithTypeParameters()
465 ancestor = constructorDeclaration.getAllAncestors().get(5); in testGetAllAncestorsWithTypeParameters()
469 ancestor = constructorDeclaration.getAllAncestors().get(6); in testGetAllAncestorsWithTypeParameters()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserInterfaceDeclarationTest.java344 …loneable", "com.github.javaparser.ast.Node", "java.lang.Object"), cu.getAllAncestors().stream().ma… in testGetAllAncestorsWithoutTypeParameters()
350 assertEquals(12, constructorDeclaration.getAllAncestors().size()); in testGetAllAncestorsWithTypeParameters()
354 ancestor = constructorDeclaration.getAllAncestors().get(0); in testGetAllAncestorsWithTypeParameters()
358 ancestor = constructorDeclaration.getAllAncestors().get(1); in testGetAllAncestorsWithTypeParameters()
361 ancestor = constructorDeclaration.getAllAncestors().get(2); in testGetAllAncestorsWithTypeParameters()
364 ancestor = constructorDeclaration.getAllAncestors().get(3); in testGetAllAncestorsWithTypeParameters()
368 ancestor = constructorDeclaration.getAllAncestors().get(4); in testGetAllAncestorsWithTypeParameters()
371 ancestor = constructorDeclaration.getAllAncestors().get(5); in testGetAllAncestorsWithTypeParameters()
375 ancestor = constructorDeclaration.getAllAncestors().get(6); in testGetAllAncestorsWithTypeParameters()
378 ancestor = constructorDeclaration.getAllAncestors().get(7); in testGetAllAncestorsWithTypeParameters()
[all …]
DJavaParserEnumDeclarationTest.java342 …loneable", "com.github.javaparser.ast.Node", "java.lang.Object"), cu.getAllAncestors().stream().ma… in testGetAllAncestorsWithoutTypeParameters()
348 assertEquals(12, constructorDeclaration.getAllAncestors().size()); in testGetAllAncestorsWithTypeParameters()
352 ancestor = constructorDeclaration.getAllAncestors().get(0); in testGetAllAncestorsWithTypeParameters()
356 ancestor = constructorDeclaration.getAllAncestors().get(1); in testGetAllAncestorsWithTypeParameters()
359 ancestor = constructorDeclaration.getAllAncestors().get(2); in testGetAllAncestorsWithTypeParameters()
362 ancestor = constructorDeclaration.getAllAncestors().get(3); in testGetAllAncestorsWithTypeParameters()
366 ancestor = constructorDeclaration.getAllAncestors().get(4); in testGetAllAncestorsWithTypeParameters()
369 ancestor = constructorDeclaration.getAllAncestors().get(5); in testGetAllAncestorsWithTypeParameters()
373 ancestor = constructorDeclaration.getAllAncestors().get(6); in testGetAllAncestorsWithTypeParameters()
376 ancestor = constructorDeclaration.getAllAncestors().get(7); in testGetAllAncestorsWithTypeParameters()
[all …]
DJavaParserClassDeclarationTest.java345 …loneable", "com.github.javaparser.ast.Node", "java.lang.Object"), cu.getAllAncestors().stream().ma… in testGetAllAncestorsWithoutTypeParameters()
351 assertEquals(12, constructorDeclaration.getAllAncestors().size()); in testGetAllAncestorsWithTypeParameters()
355 ancestor = constructorDeclaration.getAllAncestors().get(0); in testGetAllAncestorsWithTypeParameters()
359 ancestor = constructorDeclaration.getAllAncestors().get(1); in testGetAllAncestorsWithTypeParameters()
362 ancestor = constructorDeclaration.getAllAncestors().get(2); in testGetAllAncestorsWithTypeParameters()
365 ancestor = constructorDeclaration.getAllAncestors().get(3); in testGetAllAncestorsWithTypeParameters()
369 ancestor = constructorDeclaration.getAllAncestors().get(4); in testGetAllAncestorsWithTypeParameters()
372 ancestor = constructorDeclaration.getAllAncestors().get(5); in testGetAllAncestorsWithTypeParameters()
376 ancestor = constructorDeclaration.getAllAncestors().get(6); in testGetAllAncestorsWithTypeParameters()
379 ancestor = constructorDeclaration.getAllAncestors().get(7); in testGetAllAncestorsWithTypeParameters()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/
DReferenceTypeDeclaration.java42 default List<ReferenceType> getAllAncestors() { in getAllAncestors() method
48 for (ReferenceType inheritedAncestor : ancestor.getAllAncestors()) { in getAllAncestors()
200 …return getAllAncestors().stream().anyMatch(it -> it.asReferenceType().getTypeDeclaration().hasDire… in hasAnnotation()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/declarations/
DResolvedReferenceTypeDeclaration.java93 default List<ResolvedReferenceType> getAllAncestors() { in getAllAncestors() method
99 for (ResolvedReferenceType inheritedAncestor : ancestor.getAllAncestors()) { in getAllAncestors()
250 …return getAllAncestors().stream().anyMatch(it -> it.asReferenceType().getTypeDeclaration().hasDire… in hasAnnotation()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-logic/
Dcom_github_javaparser_symbolsolver_logic_AbstractTypeDeclaration.txt5 …Line 47) getAllAncestors() ==> com.github.javaparser.symbolsolver.model.declarations.ReferenceType…
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestLanguageGroup.java50 Set<List<String>> targets = getAllAncestors(lang); in TestCodes()
88 … System.out.println("superclasses of " + childString + ": " + getAllAncestors(childString)); in TestOldLangaugeGroup()
135 <T extends Collection<String>> Set<List<String>> getAllAncestors(String lang) { in getAllAncestors() method in TestLanguageGroup
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/
DReferenceType.java230 public List<ReferenceType> getAllAncestors() { in getAllAncestors() method in ReferenceType
233 List<ReferenceType> ancestors = typeDeclaration.getAllAncestors(); in getAllAncestors()
248 return getAllAncestors().stream() in getAllInterfacesAncestors()
254 return getAllAncestors().stream() in getAllClassesAncestors()
379 for (ReferenceType ancestor : this.getAllAncestors()) { in typeParamValue()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-model/
Dcom_github_javaparser_symbolsolver_model_declarations_ReferenceTypeDeclaration.txt6 …Line 48) ancestor.getAllAncestors() ==> com.github.javaparser.symbolsolver.model.typesystem.Refere…
70 …Line 200) getAllAncestors().stream().anyMatch(it -> it.asReferenceType().getTypeDeclaration().hasD…
71 Line 200) getAllAncestors().stream() ==> java.util.Collection.stream()
72 …Line 200) getAllAncestors() ==> com.github.javaparser.symbolsolver.model.declarations.ReferenceTyp…
Dcom_github_javaparser_symbolsolver_model_typesystem_ReferenceType.txt68 …) typeDeclaration.getAllAncestors() ==> com.github.javaparser.symbolsolver.model.declarations.Refe…
84 …Line 248) getAllAncestors().stream().filter(it -> it.getTypeDeclaration().isInterface()).collect(C…
85 …Line 248) getAllAncestors().stream().filter(it -> it.getTypeDeclaration().isInterface()) ==> java.…
86 Line 248) getAllAncestors().stream() ==> java.util.Collection.stream()
87 …Line 248) getAllAncestors() ==> com.github.javaparser.symbolsolver.model.typesystem.ReferenceType.
91 …Line 254) getAllAncestors().stream().filter(it -> it.getTypeDeclaration().isClass()).collect(Colle…
92 …Line 254) getAllAncestors().stream().filter(it -> it.getTypeDeclaration().isClass()) ==> java.util…
93 Line 254) getAllAncestors().stream() ==> java.util.Collection.stream()
94 …Line 254) getAllAncestors() ==> com.github.javaparser.symbolsolver.model.typesystem.ReferenceType.
153 …Line 379) this.getAllAncestors() ==> com.github.javaparser.symbolsolver.model.typesystem.Reference…
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/model/typesystem/
DReferenceTypeImpl.java116 for (ResolvedReferenceType otherAncestor : otherRef.getAllAncestors()) { in isAssignableBy()
191 public List<ResolvedReferenceType> getAllAncestors() { in getAllAncestors() method in ReferenceTypeImpl
194 List<ResolvedReferenceType> ancestors = typeDeclaration.getAllAncestors(); in getAllAncestors()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionClassAdapter.java92 for (ResolvedReferenceType ancestor : typeDeclaration.getAllAncestors()) { in getField()
107 for (ResolvedReferenceType ancestor : typeDeclaration.getAllAncestors()) { in hasField()
120 for (ResolvedReferenceType ancestor : typeDeclaration.getAllAncestors()) { in getAllFields()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/model/typesystem/
DReferenceTypeTest.java244 assertTrue(linkedListOfString.getAllAncestors().contains(object)); in testGetAllAncestorsConsideringTypeParameters()
245 assertTrue(linkedListOfString.getAllAncestors().contains(listOfStrings)); in testGetAllAncestorsConsideringTypeParameters()
246 assertTrue(linkedListOfString.getAllAncestors().contains(collectionOfString)); in testGetAllAncestorsConsideringTypeParameters()
247 assertFalse(linkedListOfString.getAllAncestors().contains(listOfA)); in testGetAllAncestorsConsideringTypeParameters()
330 List<ResolvedReferenceType> ancestors = right.getAllAncestors(); in testGetAllAncestorsConsideringGenericsCases()
477 rawArrayList.getAllAncestors().forEach(a -> ancestors.put(a.getQualifiedName(), a)); in testGetAllAncestorsOnRawType()
500 listOfString.getAllAncestors().forEach(a -> ancestors.put(a.getQualifiedName(), a)); in testGetAllAncestorsOnTypeWithSpecifiedTypeParametersForInterface()
516 … abstractCollectionOfString.getAllAncestors().forEach(a -> ancestors.put(a.getQualifiedName(), a)); in testGetAllAncestorsOnTypeWithSpecifiedTypeParametersForClassAbstractCollection()
532 abstractListOfString.getAllAncestors().forEach(a -> ancestors.put(a.getQualifiedName(), a)); in testGetAllAncestorsOnTypeWithSpecifiedTypeParametersForClassAbstractList()
550 arrayListOfString.getAllAncestors().forEach(a -> ancestors.put(a.getQualifiedName(), a)); in testGetAllAncestorsOnTypeWithSpecifiedTypeParametersForClassArrayList()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/
DResolvedReferenceType.java226 public abstract List<ResolvedReferenceType> getAllAncestors(); in getAllAncestors() method in ResolvedReferenceType
236 return getAllAncestors().stream() in getAllInterfacesAncestors()
242 return getAllAncestors().stream() in getAllClassesAncestors()
370 for (ResolvedReferenceType ancestor : this.getAllAncestors()) { in typeParamValue()
DResolvedUnionType.java45 .map(ResolvedReferenceType::getAllAncestors) in getCommonAncestor()
/external/javaparser/javaparser-symbol-solver-logic/src/main/java/com/github/javaparser/symbolsolver/logic/
DAbstractTypeDeclaration.java45 for (ResolvedReferenceType ancestor : getAllAncestors()) { in getAllMethods()
DInferenceContext.java72 List<ResolvedReferenceType> ancestors = actualTypeAsReference.getAllAncestors(); in registerCorrespondance()
76 ancestors = formalTypeAsReference.getAllAncestors(); in registerCorrespondance()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionClassAdapter.txt37 …) typeDeclaration.getAllAncestors() ==> com.github.javaparser.symbolsolver.model.declarations.Refe…
53 …) typeDeclaration.getAllAncestors() ==> com.github.javaparser.symbolsolver.model.declarations.Refe…
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserTypeAdapter.txt10 …Line 56) other.getAllAncestors() ==> com.github.javaparser.symbolsolver.model.declarations.Referen…
Dcom_github_javaparser_symbolsolver_model_typesystem_ReferenceTypeImpl.txt29 …Line 106) otherRef.getAllAncestors() ==> com.github.javaparser.symbolsolver.model.typesystem.Refer…
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-logic/com/github/javaparser/symbolsolver/logic/
DAbstractTypeDeclaration.java47 for (ReferenceType ancestor : getAllAncestors()) { in getAllMethods()
DInferenceContext.java74 List<ReferenceType> ancestors = actualTypeAsReference.getAllAncestors(); in registerCorrespondance()
78 ancestors = formalTypeAsReference.getAllAncestors(); in registerCorrespondance()
/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.java92 for (ReferenceType ancestor : typeDeclaration.getAllAncestors()) { in getField()
120 for (ReferenceType ancestor : typeDeclaration.getAllAncestors()) { in getAllFields()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionInterfaceDeclarationTest.java73 list.getAllAncestors().forEach(a -> ancestors.put(a.getQualifiedName(), a)); in testAllAncestors()

12