Home
last modified time | relevance | path

Searched refs:typeDeclaration (Results 1 – 25 of 56) sorted by relevance

123

/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DContextHelper.java47 …public static Optional<MethodUsage> solveMethodAsUsage(ResolvedTypeDeclaration typeDeclaration, St… in solveMethodAsUsage() argument
50 if (typeDeclaration instanceof JavassistClassDeclaration) { in solveMethodAsUsage()
51 …return ((JavassistClassDeclaration) typeDeclaration).solveMethodAsUsage(name, argumentsTypes, type… in solveMethodAsUsage()
52 } else if (typeDeclaration instanceof JavassistInterfaceDeclaration) { in solveMethodAsUsage()
53 …return ((JavassistInterfaceDeclaration) typeDeclaration).solveMethodAsUsage(name, argumentsTypes, … in solveMethodAsUsage()
54 } else if (typeDeclaration instanceof JavassistEnumDeclaration) { in solveMethodAsUsage()
55 …return ((JavassistEnumDeclaration) typeDeclaration).solveMethodAsUsage(name, argumentsTypes, typeS… in solveMethodAsUsage()
56 } else if (typeDeclaration instanceof ReflectionClassDeclaration) { in solveMethodAsUsage()
57 …return ((ReflectionClassDeclaration) typeDeclaration).solveMethodAsUsage(name, argumentsTypes, typ… in solveMethodAsUsage()
58 } else if (typeDeclaration instanceof ReflectionInterfaceDeclaration) { in solveMethodAsUsage()
[all …]
DJavaParserTypeDeclarationAdapter.java30 private ResolvedReferenceTypeDeclaration typeDeclaration; field in JavaParserTypeDeclarationAdapter
33 ResolvedReferenceTypeDeclaration typeDeclaration, in JavaParserTypeDeclarationAdapter() argument
37 this.typeDeclaration = typeDeclaration; in JavaParserTypeDeclarationAdapter()
71 for (ResolvedReferenceType ancestor : this.typeDeclaration.getAncestors()) { in solveType()
87 … List<ResolvedMethodDeclaration> candidateMethods = typeDeclaration.getDeclaredMethods().stream() in solveMethod()
92 if (!Object.class.getCanonicalName().equals(typeDeclaration.getQualifiedName())) { in solveMethod()
93 for (ResolvedReferenceType ancestor : typeDeclaration.getAncestors()) { in solveMethod()
95 if (typeDeclaration != ancestor.getTypeDeclaration()) { in solveMethod()
117 if (candidateMethods.isEmpty() && typeDeclaration.isInterface()) { in solveMethod()
128 if (typeDeclaration instanceof ResolvedClassDeclaration) { in solveConstructor()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/
DResolvedReferenceType.java48 protected ResolvedReferenceTypeDeclaration typeDeclaration; field in ResolvedReferenceType
55 public ResolvedReferenceType(ResolvedReferenceTypeDeclaration typeDeclaration) { in ResolvedReferenceType() argument
56 this(typeDeclaration, deriveParams(typeDeclaration)); in ResolvedReferenceType()
59 …public ResolvedReferenceType(ResolvedReferenceTypeDeclaration typeDeclaration, List<ResolvedType> … in ResolvedReferenceType() argument
60 if (typeDeclaration.isTypeParameter()) { in ResolvedReferenceType()
63 …if (typeArguments.size() > 0 && typeArguments.size() != typeDeclaration.getTypeParameters().size()… in ResolvedReferenceType()
66 typeDeclaration.getTypeParameters().size(), typeArguments.size())); in ResolvedReferenceType()
70 …typeParametersMapBuilder.setValue(typeDeclaration.getTypeParameters().get(i), typeArguments.get(i)… in ResolvedReferenceType()
73 this.typeDeclaration = typeDeclaration; in ResolvedReferenceType()
87 if (!typeDeclaration.equals(that.typeDeclaration)) return false; in equals()
[all …]
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/
DSymbolSolver.java117 ResolvedReferenceTypeDeclaration typeDeclaration = typeSolver.solveType(name); in solveTypeUsage() local
118 return new ReferenceTypeImpl(typeDeclaration, typeSolver); in solveTypeUsage()
127 … ResolvedValueDeclaration> solveSymbolInType(ResolvedTypeDeclaration typeDeclaration, String name)… in solveSymbolInType() argument
128 if (typeDeclaration instanceof JavaParserClassDeclaration) { in solveSymbolInType()
129 Context ctx = ((JavaParserClassDeclaration) typeDeclaration).getContext(); in solveSymbolInType()
132 if (typeDeclaration instanceof JavaParserInterfaceDeclaration) { in solveSymbolInType()
133 Context ctx = ((JavaParserInterfaceDeclaration) typeDeclaration).getContext(); in solveSymbolInType()
136 if (typeDeclaration instanceof JavaParserEnumDeclaration) { in solveSymbolInType()
137 Context ctx = ((JavaParserEnumDeclaration) typeDeclaration).getContext(); in solveSymbolInType()
140 if (typeDeclaration instanceof ReflectionClassDeclaration) { in solveSymbolInType()
[all …]
DMethodResolutionLogic.java582 …mbolReference<ResolvedMethodDeclaration> solveMethodInType(ResolvedTypeDeclaration typeDeclaration, in solveMethodInType() argument
584 return solveMethodInType(typeDeclaration, name, argumentsTypes, false, typeSolver); in solveMethodInType()
596 …mbolReference<ResolvedMethodDeclaration> solveMethodInType(ResolvedTypeDeclaration typeDeclaration, in solveMethodInType() argument
599 if (typeDeclaration instanceof JavaParserClassDeclaration) { in solveMethodInType()
600 Context ctx = ((JavaParserClassDeclaration) typeDeclaration).getContext(); in solveMethodInType()
603 if (typeDeclaration instanceof JavaParserInterfaceDeclaration) { in solveMethodInType()
604 Context ctx = ((JavaParserInterfaceDeclaration) typeDeclaration).getContext(); in solveMethodInType()
607 if (typeDeclaration instanceof JavaParserEnumDeclaration) { in solveMethodInType()
609 …w JavaParserEnumDeclaration.ValuesMethod((JavaParserEnumDeclaration) typeDeclaration, typeSolver)); in solveMethodInType()
611 Context ctx = ((JavaParserEnumDeclaration) typeDeclaration).getContext(); in solveMethodInType()
[all …]
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/model/typesystem/
DReferenceTypeImpl.java48 …eferenceType undeterminedParameters(ResolvedReferenceTypeDeclaration typeDeclaration, TypeSolver t… in undeterminedParameters() argument
49 … return new ReferenceTypeImpl(typeDeclaration, typeDeclaration.getTypeParameters().stream().map( in undeterminedParameters()
55 …protected ResolvedReferenceType create(ResolvedReferenceTypeDeclaration typeDeclaration, List<Reso… in create() argument
56 return new ReferenceTypeImpl(typeDeclaration, typeParametersCorrected, typeSolver); in create()
60 protected ResolvedReferenceType create(ResolvedReferenceTypeDeclaration typeDeclaration) { in create() argument
61 return new ReferenceTypeImpl(typeDeclaration, typeSolver); in create()
64 …public ReferenceTypeImpl(ResolvedReferenceTypeDeclaration typeDeclaration, TypeSolver typeSolver) { in ReferenceTypeImpl() argument
65 super(typeDeclaration); in ReferenceTypeImpl()
69 …public ReferenceTypeImpl(ResolvedReferenceTypeDeclaration typeDeclaration, List<ResolvedType> type… in ReferenceTypeImpl() argument
70 super(typeDeclaration, typeArguments); in ReferenceTypeImpl()
[all …]
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/checker/
DRecordPublicApiRules.java156 AbstractTypeDeclaration typeDeclaration = TypeLocator.findTypeDeclarationNode(node); in isPublicApiEligible() local
157 if (typeDeclaration == null) { in isPublicApiEligible()
163 boolean isNonTypeDeclaration = typeDeclaration != node; in isPublicApiEligible()
165 if (isExplicitlyHidden(node) || !isMemberPublicApiEligible(typeDeclaration, node)) { in isPublicApiEligible()
169 while (typeDeclaration != null) { in isPublicApiEligible()
170 if (isExplicitlyHidden(typeDeclaration) || in isPublicApiEligible()
171 !RecordPublicApiRules.isTypePublicApiEligible(typeDeclaration)) { in isPublicApiEligible()
174 typeDeclaration = TypeLocator.findEnclosingTypeDeclaration(typeDeclaration); in isPublicApiEligible()
197 private static boolean isTypePublicApiEligible(AbstractTypeDeclaration typeDeclaration) { in isTypePublicApiEligible() argument
198 int typeModifiers = typeDeclaration.getModifiers(); in isTypePublicApiEligible()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_ContextHelper.txt1 …Line 50) ((JavassistClassDeclaration) typeDeclaration).solveMethodAsUsage(name, argumentsTypes, ty…
2 …Line 52) ((JavassistInterfaceDeclaration) typeDeclaration).solveMethodAsUsage(name, argumentsTypes…
3 …Line 54) ((JavassistEnumDeclaration) typeDeclaration).solveMethodAsUsage(name, argumentsTypes, typ…
4 …Line 56) ((ReflectionClassDeclaration) typeDeclaration).solveMethodAsUsage(name, argumentsTypes, t…
5 …Line 58) ((ReflectionInterfaceDeclaration) typeDeclaration).solveMethodAsUsage(name, argumentsType…
6 …Line 60) ((ReflectionEnumDeclaration) typeDeclaration).solveMethodAsUsage(name, argumentsTypes, ty…
7 …Line 62) ((JavaParserClassDeclaration) typeDeclaration).getContext().solveMethodAsUsage(name, argu…
8 …Line 62) ((JavaParserClassDeclaration) typeDeclaration).getContext() ==> com.github.javaparser.sym…
9 …Line 64) ((JavaParserInterfaceDeclaration) typeDeclaration).getContext().solveMethodAsUsage(name, …
10 …Line 64) ((JavaParserInterfaceDeclaration) typeDeclaration).getContext() ==> com.github.javaparser…
[all …]
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_JavaParserTypeDeclarationAdapter.txt38 …Line 71) this.typeDeclaration.getAncestors() ==> com.github.javaparser.symbolsolver.model.declarat…
46 …Line 87) typeDeclaration.getDeclaredMethods().stream().filter(m -> m.getName().equals(name)).filte…
47 …Line 87) typeDeclaration.getDeclaredMethods().stream().filter(m -> m.getName().equals(name)).filte…
48 …Line 87) typeDeclaration.getDeclaredMethods().stream().filter(m -> m.getName().equals(name)) ==> j…
49 Line 87) typeDeclaration.getDeclaredMethods().stream() ==> java.util.Collection.stream()
50 …Line 87) typeDeclaration.getDeclaredMethods() ==> com.github.javaparser.symbolsolver.model.declara…
55 …Line 92) Object.class.getCanonicalName().equals(typeDeclaration.getQualifiedName()) ==> java.lang.…
57 …Line 92) typeDeclaration.getQualifiedName() ==> com.github.javaparser.symbolsolver.model.declarati…
58 …Line 93) typeDeclaration.getAncestors() ==> com.github.javaparser.symbolsolver.model.declarations.…
72 …Line 117) typeDeclaration.isInterface() ==> com.github.javaparser.symbolsolver.model.declarations.…
[all …]
Dcom_github_javaparser_symbolsolver_resolution_SymbolSolver.txt28 …Line 128) ((JavaParserClassDeclaration) typeDeclaration).getContext() ==> com.github.javaparser.sy…
30 …Line 132) ((JavaParserInterfaceDeclaration) typeDeclaration).getContext() ==> com.github.javaparse…
32 …Line 136) ((JavaParserEnumDeclaration) typeDeclaration).getContext() ==> com.github.javaparser.sym…
34 …Line 140) ((ReflectionClassDeclaration) typeDeclaration).solveSymbol(name, typeSolver) ==> com.git…
35 …Line 143) ((ReflectionInterfaceDeclaration) typeDeclaration).solveSymbol(name, typeSolver) ==> com…
36 …Line 146) ((JavassistClassDeclaration) typeDeclaration).solveSymbol(name, typeSolver) ==> com.gith…
38 …Line 157) ((JavaParserClassDeclaration) typeDeclaration).solveType(name, typeSolver) ==> com.githu…
39 …Line 160) ((JavaParserInterfaceDeclaration) typeDeclaration).solveType(name, typeSolver) ==> com.g…
Dcom_github_javaparser_symbolsolver_model_typesystem_ReferenceTypeImpl.txt1 …Line 42) typeDeclaration.getTypeParameters().stream().map(tp -> new TypeVariable(tp)).collect(Coll…
2 …Line 42) typeDeclaration.getTypeParameters().stream().map(tp -> new TypeVariable(tp)) ==> java.uti…
3 Line 42) typeDeclaration.getTypeParameters().stream() ==> java.util.Collection.stream()
4 …Line 42) typeDeclaration.getTypeParameters() ==> com.github.javaparser.symbolsolver.model.declarat…
7 Line 71) this.typeDeclaration.getClass().getCanonicalName() ==> java.lang.Class.getCanonicalName()
8 Line 71) this.typeDeclaration.getClass() ==> java.lang.Object.getClass()
23 …Line 96) type.getCorrespondingDeclaration().canBeAssignedTo(super.typeDeclaration) ==> com.github.…
Dcom_github_javaparser_symbolsolver_reflectionmodel_MyObjectProvider.txt2 Line 30) typeDeclaration.getTypeParameters().isEmpty() ==> java.util.List.isEmpty()
3 …Line 30) typeDeclaration.getTypeParameters() ==> com.github.javaparser.symbolsolver.model.declarat…
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/declarations/
DJavaParserTypeParameterResolutionTest.java87 ResolvedReferenceTypeDeclaration typeDeclaration = methodDeclaration.declaringType(); in declaredOnMethodNegativeCase() local
88 assertEquals(2, typeDeclaration.getTypeParameters().size()); in declaredOnMethodNegativeCase()
89 assertTrue(typeDeclaration.getTypeParameters().get(0) instanceof JavaParserTypeParameter); in declaredOnMethodNegativeCase()
90 assertEquals("A", typeDeclaration.getTypeParameters().get(0).getName()); in declaredOnMethodNegativeCase()
91 assertEquals(false, typeDeclaration.getTypeParameters().get(0).declaredOnMethod()); in declaredOnMethodNegativeCase()
92 assertEquals(true, typeDeclaration.getTypeParameters().get(0).declaredOnType()); in declaredOnMethodNegativeCase()
93 assertTrue(typeDeclaration.getTypeParameters().get(1) instanceof JavaParserTypeParameter); in declaredOnMethodNegativeCase()
94 assertEquals("B", typeDeclaration.getTypeParameters().get(1).getName()); in declaredOnMethodNegativeCase()
95 assertEquals(false, typeDeclaration.getTypeParameters().get(1).declaredOnMethod()); in declaredOnMethodNegativeCase()
96 assertEquals(true, typeDeclaration.getTypeParameters().get(1).declaredOnType()); in declaredOnMethodNegativeCase()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/
DFindingAllFields.java41 …ResolvedReferenceTypeDeclaration typeDeclaration = JavaParserFacade.get(new ReflectionTypeSolver()… in findAllInheritedFields() local
42 assertEquals(3, typeDeclaration.getAllFields().size()); in findAllInheritedFields()
44typeDeclaration.getAllFields().stream().map(ResolvedDeclaration::getName).collect(Collectors.toSet… in findAllInheritedFields()
51 …ResolvedReferenceTypeDeclaration typeDeclaration = JavaParserFacade.get(new ReflectionTypeSolver()… in findAllInheritedFieldsAndGenerics() local
52 assertEquals(3, typeDeclaration.getAllFields().size()); in findAllInheritedFieldsAndGenerics()
54typeDeclaration.getAllFields().stream().map(ResolvedDeclaration::getName).collect(Collectors.toSet… in findAllInheritedFieldsAndGenerics()
55 …assertEquals("java.util.List<java.lang.String>", typeDeclaration.getField("b").getType().describe(… in findAllInheritedFieldsAndGenerics()
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/
DTypeLocator.java82 public TypeLocator(final AbstractTypeDeclaration typeDeclaration) { in TypeLocator() argument
83 if (typeDeclaration.isLocalTypeDeclaration()) { in TypeLocator()
84 throw new IllegalArgumentException("Local types not supported: " + typeDeclaration); in TypeLocator()
87 CompilationUnit cu = (CompilationUnit) typeDeclaration.getRoot(); in TypeLocator()
93 AbstractTypeDeclaration currentNode = typeDeclaration; in TypeLocator()
217 AbstractTypeDeclaration typeDeclaration) { in findNested() argument
219 return typeDeclaration; in findNested()
224 List<BodyDeclaration> bodyDeclarations = typeDeclaration.bodyDeclarations(); in findNested()
264 AbstractTypeDeclaration typeDeclaration) { in findEnclosingTypeDeclaration() argument
265 if (typeDeclaration.isPackageMemberTypeDeclaration()) { in findEnclosingTypeDeclaration()
[all …]
DEnumConstantLocator.java69 AbstractTypeDeclaration typeDeclaration = typeLocator.find(cu); in find() local
70 if (typeDeclaration == null || !(typeDeclaration instanceof EnumDeclaration)) { in find()
74 : (List<EnumConstantDeclaration>) ((EnumDeclaration) typeDeclaration).enumConstants()) { in find()
DMethodLocator.java70 AbstractTypeDeclaration typeDeclaration = typeLocator.find(cu); in find() local
71 if (typeDeclaration == null) { in find()
75 : (List<BodyDeclaration>) typeDeclaration.bodyDeclarations()) { in find()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-model/
Dcom_github_javaparser_symbolsolver_model_typesystem_ReferenceType.txt1 …Line 53) deriveParams(typeDeclaration) ==> com.github.javaparser.symbolsolver.model.typesystem.Ref…
2 …Line 60) typeDeclaration.isTypeParameter() ==> com.github.javaparser.symbolsolver.model.declaratio…
5 Line 63) typeDeclaration.getTypeParameters().size() ==> java.util.List.size()
6 …Line 63) typeDeclaration.getTypeParameters() ==> com.github.javaparser.symbolsolver.model.declarat…
7 …arameters or has many as defined in the declaration (%d). Found %d", typeDeclaration.getTypeParame…
8 Line 65) typeDeclaration.getTypeParameters().size() ==> java.util.List.size()
9 …Line 65) typeDeclaration.getTypeParameters() ==> com.github.javaparser.symbolsolver.model.declarat…
12 …Line 69) typeParametersMapBuilder.setValue(typeDeclaration.getTypeParameters().get(i), typeParamet…
13 Line 69) typeDeclaration.getTypeParameters().get(i) ==> java.util.List.get(int)
14 …Line 69) typeDeclaration.getTypeParameters() ==> com.github.javaparser.symbolsolver.model.declarat…
[all …]
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionClassAdapter.java27 private ResolvedReferenceTypeDeclaration typeDeclaration; field in ReflectionClassAdapter
29 …sAdapter(Class<?> clazz, TypeSolver typeSolver, ResolvedReferenceTypeDeclaration typeDeclaration) { in ReflectionClassAdapter() argument
32 this.typeDeclaration = typeDeclaration; in ReflectionClassAdapter()
92 for (ResolvedReferenceType ancestor : typeDeclaration.getAllAncestors()) { in getField()
120 for (ResolvedReferenceType ancestor : typeDeclaration.getAllAncestors()) { in getAllFields()
154 if (type.describe().equals(typeDeclaration.getQualifiedName())) { in isAssignableBy()
159 return otherTypeDeclaration.getTypeDeclaration().canBeAssignedTo(typeDeclaration); in isAssignableBy()
175 return FunctionalInterfaceLogic.getFunctionalMethod(typeDeclaration).isPresent(); in isFunctionalInterface()
DMyObjectProvider.java29 ResolvedReferenceTypeDeclaration typeDeclaration = typeSolver.solveType(qualifiedName); in byName() local
30 if (!typeDeclaration.getTypeParameters().isEmpty()) { in byName()
33 return new ReferenceTypeImpl(typeDeclaration, typeSolver); in byName()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/visitor/
DCloneVisitorTest.java86 TypeDeclaration<?> typeDeclaration; in cloneJavaDocTest() local
88 typeDeclaration = typeItr.next(); in cloneJavaDocTest()
89 if (typeDeclaration.getMembers() == null) { in cloneJavaDocTest()
90 assertEquals(typeDeclaration.getComment().get().getContent(), " javadoc"); in cloneJavaDocTest()
92 Iterator<BodyDeclaration<?>> bodyItr = typeDeclaration.getMembers().iterator(); in cloneJavaDocTest()
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/
DAddDefaultConstructor.java56 void onAddDefaultConstructor(TypeLocator locator, TypeDeclaration typeDeclaration); in onAddDefaultConstructor() argument
61 this.listener = (l, typeDeclaration) -> {}; in AddDefaultConstructor()
74 TypeDeclaration typeDeclaration = (TypeDeclaration) abstractTypeDeclaration; in process() local
75 addDefaultConstructor(rewrite, typeDeclaration); in process()
76 listener.onAddDefaultConstructor(typeLocator, typeDeclaration); in process()
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
DDexMaker.java263 TypeDeclaration typeDeclaration = getTypeDeclaration(method.declaringType); in declare() local
264 if (typeDeclaration.methods.containsKey(method)) { in declare()
286 typeDeclaration.methods.put(method, methodDeclaration); in declare()
302 TypeDeclaration typeDeclaration = getTypeDeclaration(fieldId.declaringType); in declare() local
303 if (typeDeclaration.fields.containsKey(fieldId)) { in declare()
320 typeDeclaration.fields.put(fieldId, fieldDeclaration); in declare()
333 for (TypeDeclaration typeDeclaration : types.values()) { in generate()
334 outputDex.add(typeDeclaration.toClassDefItem()); in generate()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/
DSourceFileInfoExtractor.java102 …ResolvedTypeDeclaration typeDeclaration = JavaParserFacade.get(typeSolver).getTypeDeclaration(node… in solveTypeDecl() local
103 if (typeDeclaration.isClass()) { in solveTypeDecl()
104 out.println("\n[ Class " + typeDeclaration.getQualifiedName() + " ]"); in solveTypeDecl()
105 for (ResolvedReferenceType sc : typeDeclaration.asClass().getAllSuperClasses()) { in solveTypeDecl()
108 for (ResolvedReferenceType sc : typeDeclaration.asClass().getAllInterfaces()) { in solveTypeDecl()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-logic/
Dcom_github_javaparser_symbolsolver_logic_FunctionalInterfaceLogic.txt9 …Line 56) typeDeclaration.getAllMethods().stream().filter(m -> m.getDeclaration().isAbstract()).fil…
10 …Line 56) typeDeclaration.getAllMethods().stream().filter(m -> m.getDeclaration().isAbstract()).fil…
11 …Line 56) typeDeclaration.getAllMethods().stream().filter(m -> m.getDeclaration().isAbstract()) ==>…
12 Line 56) typeDeclaration.getAllMethods().stream() ==> java.util.Collection.stream()
13 …Line 56) typeDeclaration.getAllMethods() ==> com.github.javaparser.symbolsolver.model.declarations…

123