Home
last modified time | relevance | path

Searched refs:annotationExpr (Results 1 – 11 of 11) sorted by relevance

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DAnnotationsResolutionTest.java57 MarkerAnnotationExpr annotationExpr = (MarkerAnnotationExpr) clazz.getAnnotation(0); in solveJavaParserMarkerAnnotation() local
60 ResolvedAnnotationDeclaration resolved = annotationExpr.resolve(); in solveJavaParserMarkerAnnotation()
73 … SingleMemberAnnotationExpr annotationExpr = (SingleMemberAnnotationExpr) clazz.getAnnotation(0); in solveJavaParserSingleMemberAnnotation() local
76 ResolvedAnnotationDeclaration resolved = annotationExpr.resolve(); in solveJavaParserSingleMemberAnnotation()
89 NormalAnnotationExpr annotationExpr = (NormalAnnotationExpr) clazz.getAnnotation(0); in solveJavaParserNormalAnnotation() local
92 ResolvedAnnotationDeclaration resolved = annotationExpr.resolve(); in solveJavaParserNormalAnnotation()
106 MarkerAnnotationExpr annotationExpr = (MarkerAnnotationExpr) method.getAnnotation(0); in solveReflectionMarkerAnnotation() local
109 ResolvedAnnotationDeclaration resolved = annotationExpr.resolve(); in solveReflectionMarkerAnnotation()
123 SingleMemberAnnotationExpr annotationExpr = in solveReflectionSingleMemberAnnotation() local
129 ResolvedAnnotationDeclaration resolved = annotationExpr.resolve(); in solveReflectionSingleMemberAnnotation()
[all …]
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DAstResolutionUtils.java88 for (AnnotationExpr annotationExpr : nodeWithAnnotations.getAnnotations()) { in hasDirectlyAnnotation()
89 …olReference<ResolvedTypeDeclaration> ref = JavaParserFactory.getContext(annotationExpr, typeSolver) in hasDirectlyAnnotation()
90 .solveType(annotationExpr.getName().getId()); in hasDirectlyAnnotation()
96 throw new UnsolvedSymbolException(annotationExpr.getName().getId()); in hasDirectlyAnnotation()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserInterfaceDeclaration.txt12 …Line 109) solveType(annotationExpr.getName().getId(), typeSolver).getCorrespondingDeclaration().ge…
13 …Line 109) solveType(annotationExpr.getName().getId(), typeSolver).getCorrespondingDeclaration().ge…
14 …Line 109) solveType(annotationExpr.getName().getId(), typeSolver).getCorrespondingDeclaration() ==…
15 …Line 109) solveType(annotationExpr.getName().getId(), typeSolver) ==> com.github.javaparser.symbol…
16 …Line 109) annotationExpr.getName().getId() ==> com.github.javaparser.ast.nodeTypes.NodeWithIdentif…
17 Line 109) annotationExpr.getName() ==> com.github.javaparser.ast.expr.AnnotationExpr.getName()
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserClassDeclaration_J9.txt43 …Line 190) solveType(annotationExpr.getName().getId(), typeSolver).getCorrespondingDeclaration().ge…
44 …Line 190) solveType(annotationExpr.getName().getId(), typeSolver).getCorrespondingDeclaration().ge…
45 …Line 190) solveType(annotationExpr.getName().getId(), typeSolver).getCorrespondingDeclaration() ==…
46 …Line 190) solveType(annotationExpr.getName().getId(), typeSolver) ==> com.github.javaparser.symbol…
47 …Line 190) annotationExpr.getName().getId() ==> com.github.javaparser.ast.nodeTypes.NodeWithIdentif…
48 Line 190) annotationExpr.getName() ==> com.github.javaparser.ast.expr.AnnotationExpr.getName()
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserClassDeclaration.txt43 …Line 190) solveType(annotationExpr.getName().getId(), typeSolver).getCorrespondingDeclaration().ge…
44 …Line 190) solveType(annotationExpr.getName().getId(), typeSolver).getCorrespondingDeclaration().ge…
45 …Line 190) solveType(annotationExpr.getName().getId(), typeSolver).getCorrespondingDeclaration() ==…
46 …Line 190) solveType(annotationExpr.getName().getId(), typeSolver) ==> com.github.javaparser.symbol…
47 …Line 190) annotationExpr.getName().getId() ==> com.github.javaparser.ast.nodeTypes.NodeWithIdentif…
48 Line 190) annotationExpr.getName() ==> com.github.javaparser.ast.expr.AnnotationExpr.getName()
Dcom_github_javaparser_symbolsolver_javaparsermodel_JavaParserFacade.txt103 …Line 266) JavaParserFactory.getContext(annotationExpr, typeSolver) ==> com.github.javaparser.symbo…
104 …Line 267) context.solveType(annotationExpr.getNameAsString(), typeSolver) ==> com.github.javaparse…
105 …Line 267) annotationExpr.getNameAsString() ==> com.github.javaparser.ast.nodeTypes.NodeWithName.ge…
/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/
DJavaParserInterfaceDeclaration.java108 for (AnnotationExpr annotationExpr : wrappedNode.getAnnotations()) { in hasDirectlyAnnotation()
109 …if (solveType(annotationExpr.getName().getId(), typeSolver).getCorrespondingDeclaration().getQuali… in hasDirectlyAnnotation()
DJavaParserClassDeclaration.java189 for (AnnotationExpr annotationExpr : wrappedNode.getAnnotations()) { in hasDirectlyAnnotation()
190 …if (solveType(annotationExpr.getName().getId(), typeSolver).getCorrespondingDeclaration().getQuali… in hasDirectlyAnnotation()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFacade.java265 public SymbolReference<AnnotationDeclaration> solve(AnnotationExpr annotationExpr) { in solve() argument
266 Context context = JavaParserFactory.getContext(annotationExpr, typeSolver); in solve()
267 …<TypeDeclaration> typeDeclarationSymbolReference = context.solveType(annotationExpr.getNameAsStrin… in solve()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFacade.java249 public SymbolReference<ResolvedAnnotationDeclaration> solve(AnnotationExpr annotationExpr) { in solve() argument
250 Context context = JavaParserFactory.getContext(annotationExpr, typeSolver); in solve()
251 …dTypeDeclaration> typeDeclarationSymbolReference = context.solveType(annotationExpr.getNameAsStrin… in solve()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/
DLexicalPreservingPrinterTest.java871 … AnnotationExpr annotationExpr = methodDeclaration.getAnnotations().get(0); in moveOverrideAnnotations()
872 annotationExpr.remove(); in moveOverrideAnnotations()
908 … AnnotationExpr annotationExpr = methodDeclaration.getAnnotations().get(0); in moveOrAddOverrideAnnotations()
909 annotationExpr.remove(); in moveOrAddOverrideAnnotations()