/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/ |
D | JavaParserMethodDeclaration.java | 48 private com.github.javaparser.ast.body.MethodDeclaration wrappedNode; field in JavaParserMethodDeclaration 51 …public JavaParserMethodDeclaration(com.github.javaparser.ast.body.MethodDeclaration wrappedNode, T… in JavaParserMethodDeclaration() argument 52 this.wrappedNode = wrappedNode; in JavaParserMethodDeclaration() 59 "wrappedNode=" + wrappedNode + in toString() 66 if (requireParentNode(wrappedNode) instanceof ObjectCreationExpr) { in declaringType() 67 ObjectCreationExpr parentNode = (ObjectCreationExpr) requireParentNode(wrappedNode); in declaringType() 70 return JavaParserFactory.toTypeDeclaration(requireParentNode(wrappedNode), typeSolver); in declaringType() 75 return JavaParserFacade.get(typeSolver).convert(wrappedNode.getType(), getContext()); in getReturnType() 80 return wrappedNode.getParameters().size(); in getNumberOfParams() 88 return new JavaParserParameterDeclaration(wrappedNode.getParameters().get(i), typeSolver); in getParam() [all …]
|
D | JavaParserSymbolDeclaration.java | 47 private Node wrappedNode; field in JavaParserSymbolDeclaration 50 private JavaParserSymbolDeclaration(Node wrappedNode, String name, TypeSolver typeSolver) { in JavaParserSymbolDeclaration() argument 52 this.wrappedNode = wrappedNode; in JavaParserSymbolDeclaration() 56 …public static JavaParserFieldDeclaration field(VariableDeclarator wrappedNode, TypeSolver typeSolv… in field() argument 57 return new JavaParserFieldDeclaration(wrappedNode, typeSolver); in field() 95 ", wrappedNode=" + wrappedNode + in toString() 121 if (wrappedNode instanceof Parameter) { in getType() 122 Parameter parameter = (Parameter) wrappedNode; in getType() 123 if (requireParentNode(wrappedNode) instanceof LambdaExpr) { in getType() 125 …ResolvedType lambdaType = JavaParserFacade.get(typeSolver).getType(requireParentNode(wrappedNode)); in getType() [all …]
|
D | JavaParserClassDeclaration.java | 53 private com.github.javaparser.ast.body.ClassOrInterfaceDeclaration wrappedNode; field in JavaParserClassDeclaration 60 … JavaParserClassDeclaration(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration wrappedNode, in JavaParserClassDeclaration() argument 62 if (wrappedNode.isInterface()) { in JavaParserClassDeclaration() 65 this.wrappedNode = wrappedNode; in JavaParserClassDeclaration() 67 this.javaParserTypeAdapter = new JavaParserTypeAdapter<>(wrappedNode, typeSolver); in JavaParserClassDeclaration() 81 if (!wrappedNode.equals(that.wrappedNode)) return false; in equals() 88 return wrappedNode.hashCode(); in hashCode() 94 "wrappedNode=" + wrappedNode + in toString() 160 return JavaParserFactory.getContext(wrappedNode, typeSolver); in getContext() 169 return wrappedNode.getName().getId(); in getName() [all …]
|
D | JavaParserInterfaceDeclaration.java | 51 private ClassOrInterfaceDeclaration wrappedNode; field in JavaParserInterfaceDeclaration 54 …public JavaParserInterfaceDeclaration(ClassOrInterfaceDeclaration wrappedNode, TypeSolver typeSolv… in JavaParserInterfaceDeclaration() argument 55 if (!wrappedNode.isInterface()) { in JavaParserInterfaceDeclaration() 58 this.wrappedNode = wrappedNode; in JavaParserInterfaceDeclaration() 60 this.javaParserTypeAdapter = new JavaParserTypeAdapter<>(wrappedNode, typeSolver); in JavaParserInterfaceDeclaration() 66 for (BodyDeclaration<?> member : wrappedNode.getMembers()) { in getDeclaredMethods() 75 return JavaParserFactory.getContext(wrappedNode, typeSolver); in getContext() 89 if (!wrappedNode.equals(that.wrappedNode)) return false; in equals() 96 return wrappedNode.hashCode(); in hashCode() 101 return wrappedNode.getName().getId(); in getName() [all …]
|
D | JavaParserParameterDeclaration.java | 37 private Parameter wrappedNode; field in JavaParserParameterDeclaration 40 public JavaParserParameterDeclaration(Parameter wrappedNode, TypeSolver typeSolver) { in JavaParserParameterDeclaration() argument 41 this.wrappedNode = wrappedNode; in JavaParserParameterDeclaration() 47 return wrappedNode.getName().getId(); in getName() 62 return wrappedNode.isVarArgs(); in isVariadic() 72 …if (wrappedNode.getType() instanceof UnknownType && JavaParserFactory.getContext(wrappedNode, type… in getType() 73 …onal<Value> value = JavaParserFactory.getContext(wrappedNode, typeSolver).solveSymbolAsValue(wrapp… in getType() 78 … ResolvedType res = JavaParserFacade.get(typeSolver).convert(wrappedNode.getType(), wrappedNode); in getType() 96 return wrappedNode; in getWrappedNode()
|
D | JavaParserConstructorDeclaration.java | 37 private com.github.javaparser.ast.body.ConstructorDeclaration wrappedNode; field in JavaParserConstructorDeclaration 40 …ctorDeclaration(N declaringType, com.github.javaparser.ast.body.ConstructorDeclaration wrappedNode, in JavaParserConstructorDeclaration() argument 43 this.wrappedNode = wrappedNode; in JavaParserConstructorDeclaration() 54 return this.wrappedNode.getParameters().size(); in getNumberOfParams() 62 return new JavaParserParameterDeclaration(wrappedNode.getParameters().get(i), typeSolver); in getParam() 76 return wrappedNode; in getWrappedNode() 81 return wrappedNode.getAccessSpecifier(); in accessSpecifier() 86 …return this.wrappedNode.getTypeParameters().stream().map((astTp) -> new JavaParserTypeParameter(as… in getTypeParameters() 91 return wrappedNode.getThrownExceptions().size(); in getNumberOfSpecifiedExceptions() 101 .convert(wrappedNode.getThrownExceptions().get(index), wrappedNode); in getSpecifiedException() [all …]
|
D | JavaParserAnnotationDeclaration.java | 22 private com.github.javaparser.ast.body.AnnotationDeclaration wrappedNode; field in JavaParserAnnotationDeclaration 25 … public JavaParserAnnotationDeclaration(AnnotationDeclaration wrappedNode, TypeSolver typeSolver) { in JavaParserAnnotationDeclaration() argument 26 this.wrappedNode = wrappedNode; in JavaParserAnnotationDeclaration() 60 return AstResolutionUtils.hasDirectlyAnnotation(wrappedNode, typeSolver, canonicalName); in hasDirectlyAnnotation() 65 return AstResolutionUtils.getPackageName(wrappedNode); in getPackageName() 70 return AstResolutionUtils.getClassName("", wrappedNode); in getClassName() 75 … String containerName = AstResolutionUtils.containerName(wrappedNode.getParentNode().orElse(null)); in getQualifiedName() 77 return wrappedNode.getName().getId(); in getQualifiedName() 79 return containerName + "." + wrappedNode.getName(); in getQualifiedName() 85 return wrappedNode.getName().getId(); in getName() [all …]
|
D | JavaParserTypeParameter.java | 46 private com.github.javaparser.ast.type.TypeParameter wrappedNode; field in JavaParserTypeParameter 49 …public JavaParserTypeParameter(com.github.javaparser.ast.type.TypeParameter wrappedNode, TypeSolve… in JavaParserTypeParameter() argument 50 this.wrappedNode = wrappedNode; in JavaParserTypeParameter() 70 …if (wrappedNode != null ? !wrappedNode.equals(that.wrappedNode) : that.wrappedNode != null) return… in equals() 77 int result = wrappedNode != null ? wrappedNode.hashCode() : 0; in hashCode() 84 return wrappedNode.getName().getId(); in getName() 118 Node parentNode = requireParentNode(wrappedNode); in getContainer() 145 …return wrappedNode.getTypeBound().stream().map((astB) -> toBound(astB, typeSolver)).collect(Collec… in getBounds() 207 return wrappedNode; in getWrappedNode() 212 …return "JPTypeParameter(" + wrappedNode.getName() + ", bounds=" + wrappedNode.getTypeBound() + ")"; in toString()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/ |
D | JavaParserMethodDeclaration.java | 40 private com.github.javaparser.ast.body.MethodDeclaration wrappedNode; field in JavaParserMethodDeclaration 43 …public JavaParserMethodDeclaration(com.github.javaparser.ast.body.MethodDeclaration wrappedNode, T… in JavaParserMethodDeclaration() argument 44 this.wrappedNode = wrappedNode; in JavaParserMethodDeclaration() 51 "wrappedNode=" + wrappedNode + in toString() 58 if (getParentNode(wrappedNode) instanceof ObjectCreationExpr) { in declaringType() 59 ObjectCreationExpr parentNode = (ObjectCreationExpr) getParentNode(wrappedNode); in declaringType() 62 return JavaParserFactory.toTypeDeclaration(getParentNode(wrappedNode), typeSolver); in declaringType() 68 return JavaParserFacade.get(typeSolver).convert(wrappedNode.getType(), getContext()); in getReturnType() 73 return wrappedNode.getParameters().size(); in getNumberOfParams() 81 return new JavaParserParameterDeclaration(wrappedNode.getParameters().get(i), typeSolver); in getParam() [all …]
|
D | JavaParserInterfaceDeclaration.java | 48 private ClassOrInterfaceDeclaration wrappedNode; field in JavaParserInterfaceDeclaration 51 …public JavaParserInterfaceDeclaration(ClassOrInterfaceDeclaration wrappedNode, TypeSolver typeSolv… in JavaParserInterfaceDeclaration() argument 52 if (!wrappedNode.isInterface()) { in JavaParserInterfaceDeclaration() 55 this.wrappedNode = wrappedNode; in JavaParserInterfaceDeclaration() 57 this.javaParserTypeAdapter = new JavaParserTypeAdapter(wrappedNode, typeSolver); in JavaParserInterfaceDeclaration() 63 for (BodyDeclaration member : wrappedNode.getMembers()) { in getDeclaredMethods() 72 return JavaParserFactory.getContext(wrappedNode, typeSolver); in getContext() 86 if (!wrappedNode.equals(that.wrappedNode)) return false; in equals() 93 return wrappedNode.hashCode(); in hashCode() 98 return wrappedNode.getName().getId(); in getName() [all …]
|
D | JavaParserSymbolDeclaration.java | 43 private Node wrappedNode; field in JavaParserSymbolDeclaration 49 …private JavaParserSymbolDeclaration(Node wrappedNode, String name, TypeSolver typeSolver, boolean … in JavaParserSymbolDeclaration() argument 51 this.wrappedNode = wrappedNode; in JavaParserSymbolDeclaration() 58 …public static JavaParserFieldDeclaration field(VariableDeclarator wrappedNode, TypeSolver typeSolv… in field() argument 59 return new JavaParserFieldDeclaration(wrappedNode, typeSolver); in field() 98 ", wrappedNode=" + wrappedNode + in toString() 124 if (wrappedNode instanceof Parameter) { in getType() 125 Parameter parameter = (Parameter) wrappedNode; in getType() 126 if (getParentNode(wrappedNode) instanceof LambdaExpr) { in getType() 128 … Type lambdaType = JavaParserFacade.get(typeSolver).getType(getParentNode(wrappedNode)); in getType() [all …]
|
D | JavaParserClassDeclaration.java | 55 private com.github.javaparser.ast.body.ClassOrInterfaceDeclaration wrappedNode; field in JavaParserClassDeclaration 62 … JavaParserClassDeclaration(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration wrappedNode, in JavaParserClassDeclaration() argument 64 if (wrappedNode.isInterface()) { in JavaParserClassDeclaration() 67 this.wrappedNode = wrappedNode; in JavaParserClassDeclaration() 69 …arserTypeAdapter = new JavaParserTypeAdapter<ClassOrInterfaceDeclaration>(wrappedNode, typeSolver); in JavaParserClassDeclaration() 83 if (!wrappedNode.equals(that.wrappedNode)) return false; in equals() 90 return wrappedNode.hashCode(); in hashCode() 96 "wrappedNode=" + wrappedNode + in toString() 107 for (BodyDeclaration<?> member : wrappedNode.getMembers()) { in getAllFields() 138 return JavaParserFactory.getContext(wrappedNode, typeSolver); in getContext() [all …]
|
D | JavaParserParameterDeclaration.java | 31 private Parameter wrappedNode; field in JavaParserParameterDeclaration 34 public JavaParserParameterDeclaration(Parameter wrappedNode, TypeSolver typeSolver) { in JavaParserParameterDeclaration() argument 35 this.wrappedNode = wrappedNode; in JavaParserParameterDeclaration() 41 return wrappedNode.getName().getId(); in getName() 56 return wrappedNode.isVarArgs(); in isVariadic() 66 Type res = JavaParserFacade.get(typeSolver).convert(wrappedNode.getType(), wrappedNode); in getType() 84 return wrappedNode; in getWrappedNode()
|
D | JavaParserConstructorDeclaration.java | 31 private com.github.javaparser.ast.body.ConstructorDeclaration wrappedNode; field in JavaParserConstructorDeclaration 34 …assDeclaration classDeclaration, com.github.javaparser.ast.body.ConstructorDeclaration wrappedNode, in JavaParserConstructorDeclaration() argument 37 this.wrappedNode = wrappedNode; in JavaParserConstructorDeclaration() 48 return this.wrappedNode.getParameters().size(); in getNumberOfParams() 56 return new JavaParserParameterDeclaration(wrappedNode.getParameters().get(i), typeSolver); in getParam() 70 return wrappedNode; in getWrappedNode() 75 return Helper.toAccessLevel(wrappedNode.getModifiers()); in accessLevel() 80 …return this.wrappedNode.getTypeParameters().stream().map((astTp) -> new JavaParserTypeParameter(as… in getTypeParameters()
|
D | JavaParserAnnotationDeclaration.java | 20 private com.github.javaparser.ast.body.AnnotationDeclaration wrappedNode; field in JavaParserAnnotationDeclaration 23 …tationDeclaration(com.github.javaparser.ast.body.AnnotationDeclaration wrappedNode, TypeSolver typ… in JavaParserAnnotationDeclaration() argument 24 this.wrappedNode = wrappedNode; in JavaParserAnnotationDeclaration() 60 return Helper.getPackageName(wrappedNode); in getPackageName() 65 return Helper.getClassName("", wrappedNode); in getClassName() 70 String containerName = Helper.containerName(getParentNode(wrappedNode)); in getQualifiedName() 72 return wrappedNode.getName().getId(); in getQualifiedName() 74 return containerName + "." + wrappedNode.getName(); in getQualifiedName() 80 return wrappedNode.getName().getId(); in getName()
|
D | JavaParserEnumDeclaration.java | 50 private com.github.javaparser.ast.body.EnumDeclaration wrappedNode; field in JavaParserEnumDeclaration 53 …public JavaParserEnumDeclaration(com.github.javaparser.ast.body.EnumDeclaration wrappedNode, TypeS… in JavaParserEnumDeclaration() argument 54 this.wrappedNode = wrappedNode; in JavaParserEnumDeclaration() 56 this.javaParserTypeAdapter = new JavaParserTypeAdapter(wrappedNode, typeSolver); in JavaParserEnumDeclaration() 62 "wrappedNode=" + wrappedNode + in toString() 69 for (BodyDeclaration member : wrappedNode.getMembers()) { in getDeclaredMethods() 78 return JavaParserFactory.getContext(wrappedNode, typeSolver); in getContext() 83 return wrappedNode.getName().getId(); in getName() 175 if (!wrappedNode.equals(that.wrappedNode)) return false; in equals() 182 return wrappedNode.hashCode(); in hashCode() [all …]
|
D | JavaParserTypeParameter.java | 46 private com.github.javaparser.ast.type.TypeParameter wrappedNode; field in JavaParserTypeParameter 49 …public JavaParserTypeParameter(com.github.javaparser.ast.type.TypeParameter wrappedNode, TypeSolve… in JavaParserTypeParameter() argument 50 this.wrappedNode = wrappedNode; in JavaParserTypeParameter() 70 …if (wrappedNode != null ? !wrappedNode.equals(that.wrappedNode) : that.wrappedNode != null) return… in equals() 77 int result = wrappedNode != null ? wrappedNode.hashCode() : 0; in hashCode() 84 return wrappedNode.getName().getId(); in getName() 118 Node parentNode = getParentNode(wrappedNode); in getContainer() 145 …return wrappedNode.getTypeBound().stream().map((astB) -> toBound(astB, typeSolver)).collect(Collec… in getBounds() 208 return wrappedNode; in getWrappedNode() 213 …return "JPTypeParameter(" + wrappedNode.getName() + ", bounds=" + wrappedNode.getTypeBound() + ")"; in toString()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/ |
D | com_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserMethodDeclaration.txt | 1 …Line 58) getParentNode(wrappedNode) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.ge… 2 …Line 59) getParentNode(wrappedNode) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.ge… 3 …Line 62) JavaParserFactory.toTypeDeclaration(getParentNode(wrappedNode), typeSolver) ==> com.githu… 4 …Line 62) getParentNode(wrappedNode) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.ge… 5 …Line 68) JavaParserFacade.get(typeSolver).convert(wrappedNode.getType(), getContext()) ==> com.git… 7 Line 68) wrappedNode.getType() ==> com.github.javaparser.ast.body.MethodDeclaration.getType() 9 Line 73) wrappedNode.getParameters().size() ==> com.github.javaparser.ast.NodeList.size() 10 …Line 73) wrappedNode.getParameters() ==> com.github.javaparser.ast.body.CallableDeclaration.getPar… 14 Line 81) wrappedNode.getParameters().get(i) ==> com.github.javaparser.ast.NodeList.get(int) 15 …Line 81) wrappedNode.getParameters() ==> com.github.javaparser.ast.body.CallableDeclaration.getPar… [all …]
|
D | com_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserAnnotationDeclaration.txt | 1 …Line 60) Helper.getPackageName(wrappedNode) ==> com.github.javaparser.symbolsolver.javaparsermodel… 2 …Line 65) Helper.getClassName("", wrappedNode) ==> com.github.javaparser.symbolsolver.javaparsermod… 3 …Line 70) Helper.containerName(getParentNode(wrappedNode)) ==> com.github.javaparser.symbolsolver.j… 4 …Line 70) getParentNode(wrappedNode) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.ge… 6 …Line 72) wrappedNode.getName().getId() ==> com.github.javaparser.ast.nodeTypes.NodeWithIdentifier.… 7 Line 72) wrappedNode.getName() ==> com.github.javaparser.ast.body.TypeDeclaration.getName() 8 Line 74) wrappedNode.getName() ==> com.github.javaparser.ast.body.TypeDeclaration.getName() 9 …Line 80) wrappedNode.getName().getId() ==> com.github.javaparser.ast.nodeTypes.NodeWithIdentifier.… 10 Line 80) wrappedNode.getName() ==> com.github.javaparser.ast.body.TypeDeclaration.getName()
|
D | com_github_javaparser_symbolsolver_javaparsermodel_contexts_FieldAccessContext.txt | 1 …Line 52) wrappedNode.getField().toString().equals(name) ==> java.lang.String.equals(java.lang.Obje… 2 Line 52) wrappedNode.getField().toString() ==> com.github.javaparser.ast.Node.toString() 3 Line 52) wrappedNode.getField() ==> com.github.javaparser.ast.expr.FieldAccessExpr.getField() 4 Line 53) wrappedNode.getScope() ==> com.github.javaparser.ast.expr.FieldAccessExpr.getScope() 5 …Line 54) JavaParserFacade.get(typeSolver).getTypeOfThisIn(wrappedNode) ==> com.github.javaparser.s… 10 …Line 58) JavaParserFactory.getContext(getParentNode(wrappedNode), typeSolver).solveSymbol(name, ty… 11 …Line 58) JavaParserFactory.getContext(getParentNode(wrappedNode), typeSolver) ==> com.github.javap… 12 …Line 58) getParentNode(wrappedNode) ==> com.github.javaparser.symbolsolver.javaparser.Navigator.ge… 13 …Line 63) JavaParserFactory.getContext(getParentNode(wrappedNode), typeSolver).solveType(name, type… 14 …Line 63) JavaParserFactory.getContext(getParentNode(wrappedNode), typeSolver) ==> com.github.javap… [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ |
D | AbstractJavaParserContext.java | 41 protected N wrappedNode; field in AbstractJavaParserContext 61 public AbstractJavaParserContext(N wrappedNode, TypeSolver typeSolver) { in AbstractJavaParserContext() argument 62 if (wrappedNode == null) { in AbstractJavaParserContext() 65 this.wrappedNode = wrappedNode; in AbstractJavaParserContext() 80 …if (wrappedNode != null ? !wrappedNode.equals(that.wrappedNode) : that.wrappedNode != null) return… in equals() 87 return wrappedNode != null ? wrappedNode.hashCode() : 0; in hashCode() 102 if (getParentNode(wrappedNode) instanceof MethodCallExpr) { in getParent() 103 MethodCallExpr parentCall = (MethodCallExpr) getParentNode(wrappedNode); in getParent() 107 if (expression == wrappedNode) { in getParent() 113 Node notMethod = getParentNode(wrappedNode); in getParent() [all …]
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ |
D | AbstractJavaParserContext.java | 53 protected N wrappedNode; field in AbstractJavaParserContext 73 public AbstractJavaParserContext(N wrappedNode, TypeSolver typeSolver) { in AbstractJavaParserContext() argument 74 if (wrappedNode == null) { in AbstractJavaParserContext() 77 this.wrappedNode = wrappedNode; in AbstractJavaParserContext() 92 … return wrappedNode != null ? wrappedNode.equals(that.wrappedNode) : that.wrappedNode == null; in equals() 97 return wrappedNode != null ? wrappedNode.hashCode() : 0; in hashCode() 112 Node parent = wrappedNode.getParentNode().orElse(null); in getParent() 118 if (expression == wrappedNode) { in getParent() 176 throw new UnsolvedSymbolException(scope.toString(), wrappedNode.toString(), e); in findTypeDeclarations() 204 ResolvedType typeOfScope = JavaParserFacade.get(typeSolver).getTypeOfThisIn(wrappedNode); in findTypeDeclarations() [all …]
|
D | StatementContext.java | 44 public StatementContext(N wrappedNode, TypeSolver typeSolver) { in StatementContext() argument 45 super(wrappedNode, typeSolver); in StatementContext() 104 …SymbolDeclarator symbolDeclarator = JavaParserFactory.getSymbolDeclarator(wrappedNode, typeSolver); in solveSymbolAsValue() 111 … if (requireParentNode(wrappedNode) instanceof com.github.javaparser.ast.body.MethodDeclaration) { in solveSymbolAsValue() 114 if (requireParentNode(wrappedNode) instanceof LambdaExpr) { in solveSymbolAsValue() 117 if (requireParentNode(wrappedNode) instanceof IfStmt) { in solveSymbolAsValue() 120 if (!(requireParentNode(wrappedNode) instanceof NodeWithStatements)) { in solveSymbolAsValue() 123 NodeWithStatements<?> nodeWithStmt = (NodeWithStatements<?>) requireParentNode(wrappedNode); in solveSymbolAsValue() 126 if (nodeWithStmt.getStatements().get(i).equals(wrappedNode)) { in solveSymbolAsValue() 150 …SymbolDeclarator symbolDeclarator = JavaParserFactory.getSymbolDeclarator(wrappedNode, typeSolver); in solveSymbol() [all …]
|
D | FieldAccessContext.java | 45 public FieldAccessContext(FieldAccessExpr wrappedNode, TypeSolver typeSolver) { in FieldAccessContext() argument 46 super(wrappedNode, typeSolver); in FieldAccessContext() 51 if (wrappedNode.getName().toString().equals(name)) { in solveSymbol() 52 if (wrappedNode.getScope() instanceof ThisExpr) { in solveSymbol() 53 … ResolvedType typeOfThis = JavaParserFacade.get(typeSolver).getTypeOfThisIn(wrappedNode); in solveSymbol() 57 … return JavaParserFactory.getContext(requireParentNode(wrappedNode), typeSolver).solveSymbol(name); in solveSymbol() 62 … return JavaParserFactory.getContext(requireParentNode(wrappedNode), typeSolver).solveType(name); in solveType() 67 …return JavaParserFactory.getContext(requireParentNode(wrappedNode), typeSolver).solveMethod(name, … in solveMethod() 72 Expression scope = wrappedNode.getScope(); in solveSymbolAsValue() 73 if (wrappedNode.getName().toString().equals(name)) { in solveSymbolAsValue() [all …]
|
D | ClassOrInterfaceDeclarationContext.java | 47 …public ClassOrInterfaceDeclarationContext(ClassOrInterfaceDeclaration wrappedNode, TypeSolver type… in ClassOrInterfaceDeclarationContext() argument 48 super(wrappedNode, typeSolver); in ClassOrInterfaceDeclarationContext() 49 …this.javaParserTypeDeclarationAdapter = new JavaParserTypeDeclarationAdapter(wrappedNode, typeSolv… in ClassOrInterfaceDeclarationContext() 83 for (com.github.javaparser.ast.type.TypeParameter tp : wrappedNode.getTypeParameters()) { in solveGenericType() 94 for (ClassOrInterfaceType implementedType : wrappedNode.getImplementedTypes()) { in solveType() 96 …return JavaParserFactory.getContext(wrappedNode.getParentNode().orElse(null), typeSolver).solveTyp… in solveType() 100 for (ClassOrInterfaceType extendedType : wrappedNode.getExtendedTypes()) { in solveType() 102 …return JavaParserFactory.getContext(wrappedNode.getParentNode().orElse(null), typeSolver).solveTyp… in solveType() 121 fields.addAll(this.wrappedNode.resolve().getDeclaredFields()); in fieldsExposedToChild() 122 …this.wrappedNode.getExtendedTypes().forEach(i -> fields.addAll(i.resolve().getAllFieldsVisibleToIn… in fieldsExposedToChild() [all …]
|