Home
last modified time | relevance | path

Searched refs:hasDirectlyAnnotation (Results 1 – 25 of 44) sorted by relevance

12

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DAnnotationsResolutionTest.java200 assertTrue(resolved.hasDirectlyAnnotation("java.lang.annotation.Target")); in solveJavaParserMetaAnnotations()
201 assertTrue(resolved.hasDirectlyAnnotation("java.lang.annotation.Retention")); in solveJavaParserMetaAnnotations()
202 assertFalse(resolved.hasDirectlyAnnotation("java.lang.annotation.Documented")); in solveJavaParserMetaAnnotations()
218 assertTrue(resolved.hasDirectlyAnnotation("java.lang.annotation.Target")); in solveReflectionMetaAnnotations()
219 assertTrue(resolved.hasDirectlyAnnotation("java.lang.annotation.Retention")); in solveReflectionMetaAnnotations()
220 assertFalse(resolved.hasDirectlyAnnotation("java.lang.annotation.Documented")); in solveReflectionMetaAnnotations()
236 assertTrue(resolved.hasDirectlyAnnotation("java.lang.annotation.Target")); in solveJavassistMetaAnnotation()
237 assertTrue(resolved.hasDirectlyAnnotation("java.lang.annotation.Retention")); in solveJavassistMetaAnnotation()
238 assertFalse(resolved.hasDirectlyAnnotation("java.lang.annotation.Documented")); in solveJavassistMetaAnnotation()
DDefaultPackageTest.java84 public boolean hasDirectlyAnnotation(String qualifiedName) { in hasDirectlyAnnotation() method in DefaultPackageTest.MyClassDeclaration
/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.java191 boolean hasDirectlyAnnotation(String qualifiedName); in hasDirectlyAnnotation() method
197 if (hasDirectlyAnnotation(qualifiedName)) { in hasAnnotation()
200 …stream().anyMatch(it -> it.asReferenceType().getTypeDeclaration().hasDirectlyAnnotation(qualifiedN… in hasAnnotation()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/declarations/
DResolvedReferenceTypeDeclaration.java241 boolean hasDirectlyAnnotation(String qualifiedName); in hasDirectlyAnnotation() method
247 if (hasDirectlyAnnotation(qualifiedName)) { in hasAnnotation()
250 …stream().anyMatch(it -> it.asReferenceType().getTypeDeclaration().hasDirectlyAnnotation(qualifiedN… in hasAnnotation()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserAnnotationDeclaration.java59 public boolean hasDirectlyAnnotation(String canonicalName) { in hasDirectlyAnnotation() method in JavaParserAnnotationDeclaration
60 return AstResolutionUtils.hasDirectlyAnnotation(wrappedNode, typeSolver, canonicalName); in hasDirectlyAnnotation()
DJavaParserClassDeclaration.java198 public boolean hasDirectlyAnnotation(String canonicalName) { in hasDirectlyAnnotation() method in JavaParserClassDeclaration
199 return AstResolutionUtils.hasDirectlyAnnotation(wrappedNode, typeSolver, canonicalName); in hasDirectlyAnnotation()
DJavaParserInterfaceDeclaration.java110 public boolean hasDirectlyAnnotation(String canonicalName) { in hasDirectlyAnnotation() method in JavaParserInterfaceDeclaration
111 return AstResolutionUtils.hasDirectlyAnnotation(wrappedNode, typeSolver, canonicalName); in hasDirectlyAnnotation()
DJavaParserTypeVariableDeclaration.java148 public boolean hasDirectlyAnnotation(String canonicalName) { in hasDirectlyAnnotation() method in JavaParserTypeVariableDeclaration
DJavaParserEnumDeclaration.java108 public boolean hasDirectlyAnnotation(String canonicalName) { in hasDirectlyAnnotation() method in JavaParserEnumDeclaration
109 return AstResolutionUtils.hasDirectlyAnnotation(wrappedNode, typeSolver, canonicalName); in hasDirectlyAnnotation()
DAstResolutionUtils.java86 …static boolean hasDirectlyAnnotation(NodeWithAnnotations<?> nodeWithAnnotations, TypeSolver typeSo… in hasDirectlyAnnotation() method in AstResolutionUtils
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionAnnotationDeclaration.java118 public boolean hasDirectlyAnnotation(String canonicalName) { in hasDirectlyAnnotation() method in ReflectionAnnotationDeclaration
119 return reflectionClassAdapter.hasDirectlyAnnotation(canonicalName); in hasDirectlyAnnotation()
DReflectionEnumDeclaration.java149 public boolean hasDirectlyAnnotation(String qualifiedName) { in hasDirectlyAnnotation() method in ReflectionEnumDeclaration
150 return reflectionClassAdapter.hasDirectlyAnnotation(qualifiedName); in hasDirectlyAnnotation()
DReflectionInterfaceDeclaration.java301 public boolean hasDirectlyAnnotation(String canonicalName) { in hasDirectlyAnnotation() method in ReflectionInterfaceDeclaration
302 return reflectionClassAdapter.hasDirectlyAnnotation(canonicalName); in hasDirectlyAnnotation()
DReflectionClassDeclaration.java275 public boolean hasDirectlyAnnotation(String canonicalName) { in hasDirectlyAnnotation() method in ReflectionClassDeclaration
276 return reflectionClassAdapter.hasDirectlyAnnotation(canonicalName); in hasDirectlyAnnotation()
/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.txt69 … 197) hasDirectlyAnnotation(qualifiedName) ==> com.github.javaparser.symbolsolver.model.declaratio…
70 …stream().anyMatch(it -> it.asReferenceType().getTypeDeclaration().hasDirectlyAnnotation(qualifiedN…
73 …ion().hasDirectlyAnnotation(qualifiedName) ==> com.github.javaparser.symbolsolver.model.declaratio…
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserClassDeclarationTest.java855 assertTrue(ca.hasDirectlyAnnotation("foo.bar.MyAnnotation")); in testHasDirectlyAnnotation()
856 assertFalse(ca.hasDirectlyAnnotation("foo.bar.MyAnnotation2")); in testHasDirectlyAnnotation()
857 assertFalse(ca.hasDirectlyAnnotation("MyAnnotation")); in testHasDirectlyAnnotation()
858 assertFalse(ca.hasDirectlyAnnotation("foo.bar.MyUnexistingAnnotation")); in testHasDirectlyAnnotation()
861 assertFalse(cb.hasDirectlyAnnotation("foo.bar.MyAnnotation")); in testHasDirectlyAnnotation()
862 assertTrue(cb.hasDirectlyAnnotation("foo.bar.MyAnnotation2")); in testHasDirectlyAnnotation()
863 assertFalse(cb.hasDirectlyAnnotation("MyAnnotation")); in testHasDirectlyAnnotation()
864 assertFalse(cb.hasDirectlyAnnotation("foo.bar.MyUnexistingAnnotation")); in testHasDirectlyAnnotation()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionEnumDeclaration.java141 public boolean hasDirectlyAnnotation(String qualifiedName) { in hasDirectlyAnnotation() method in ReflectionEnumDeclaration
142 return reflectionClassAdapter.hasDirectlyAnnotation(qualifiedName); in hasDirectlyAnnotation()
DReflectionInterfaceDeclaration.java292 public boolean hasDirectlyAnnotation(String canonicalName) { in hasDirectlyAnnotation() method in ReflectionInterfaceDeclaration
293 return reflectionClassAdapter.hasDirectlyAnnotation(canonicalName); in hasDirectlyAnnotation()
DReflectionClassDeclaration.java253 public boolean hasDirectlyAnnotation(String canonicalName) { in hasDirectlyAnnotation() method in ReflectionClassDeclaration
254 return reflectionClassAdapter.hasDirectlyAnnotation(canonicalName); 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/declarations/
DJavaParserAnnotationDeclaration.java54 public boolean hasDirectlyAnnotation(String qualifiedName) { in hasDirectlyAnnotation() method in JavaParserAnnotationDeclaration
DJavaParserTypeVariableDeclaration.java151 public boolean hasDirectlyAnnotation(String canonicalName) { in hasDirectlyAnnotation() method in JavaParserTypeVariableDeclaration
/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_ReflectionEnumDeclaration.txt25 …Adapter.hasDirectlyAnnotation(qualifiedName) ==> com.github.javaparser.symbolsolver.reflectionmode…
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistAnnotationDeclaration.java109 public boolean hasDirectlyAnnotation(String canonicalName) { in hasDirectlyAnnotation() method in JavassistAnnotationDeclaration
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistInterfaceDeclarationTest.java132 … assertTrue(compilationUnit.hasDirectlyAnnotation("com.github.javaparser.test.TestAnnotation")); in testHasDirectlyAnnotation()
DJavassistEnumDeclarationTest.java133 … assertTrue(compilationUnit.hasDirectlyAnnotation("com.github.javaparser.test.TestAnnotation")); in testHasDirectlyAnnotation()

12