Home
last modified time | relevance | path

Searched refs:hasAnnotation (Results 1 – 22 of 22) sorted by relevance

/external/doclava/src/com/google/doclava/
DAndroidLinter.java76 boolean hasAnnotation = false; in lintMethod()
79 hasAnnotation = true; in lintMethod()
107 if (!hasAnnotation) { in lintMethod()
136 boolean hasAnnotation = false; in lintVariable()
139 hasAnnotation |= b.type().qualifiedNameMatches("android", "annotation.IntDef"); in lintVariable()
142 if (!hasAnnotation) { in lintVariable()
149 boolean hasAnnotation = false; in lintVariable()
151 hasAnnotation |= a.type().qualifiedNameMatches("android", "annotation.NonNull"); in lintVariable()
152 hasAnnotation |= a.type().qualifiedNameMatches("android", "annotation.Nullable"); in lintVariable()
154 if (!hasAnnotation) { in lintVariable()
DStubs.java1692 boolean hasAnnotation = false;
1695 hasAnnotation = true;
1732 hasAnnotation = false;
1741 if (!hasAnnotation) {
/external/junit-params/src/main/java/junitparams/internal/annotation/
DFrameworkMethodAnnotations.java19 return hasAnnotation(Parameters.class) in isParametrised()
31 public boolean hasAnnotation(Class<? extends Annotation> annotation) { in hasAnnotation() method in FrameworkMethodAnnotations
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserClassDeclarationTest.java876 assertTrue(ca.hasAnnotation("foo.bar.MyAnnotation")); in testHasAnnotation()
877 assertFalse(ca.hasAnnotation("foo.bar.MyAnnotation2")); in testHasAnnotation()
878 assertFalse(ca.hasAnnotation("MyAnnotation")); in testHasAnnotation()
879 assertFalse(ca.hasAnnotation("foo.bar.MyUnexistingAnnotation")); in testHasAnnotation()
882 assertTrue(cb.hasAnnotation("foo.bar.MyAnnotation")); in testHasAnnotation()
883 assertTrue(cb.hasAnnotation("foo.bar.MyAnnotation2")); in testHasAnnotation()
884 assertFalse(cb.hasAnnotation("MyAnnotation")); in testHasAnnotation()
885 assertFalse(cb.hasAnnotation("foo.bar.MyUnexistingAnnotation")); in testHasAnnotation()
/external/protobuf/php/src/Google/Protobuf/Internal/
DGeneratedCodeInfo.php76 public function hasAnnotation() function in Google\\Protobuf\\Internal\\GeneratedCodeInfo
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DInstrumentationConfiguration.java85 || mutableClass.hasAnnotation(DoNotInstrument.class)) in shouldInstrument()
88 || mutableClass.hasAnnotation(Instrument.class)) in shouldInstrument()
DMutableClass.java50 public boolean hasAnnotation(Class<? extends Annotation> annotationClass) { in hasAnnotation() method in MutableClass
/external/javaparser/javaparser-symbol-solver-logic/src/main/java/com/github/javaparser/symbolsolver/logic/
DFunctionalInterfaceLogic.java71 …if (type.isReferenceType() && type.asReferenceType().getTypeDeclaration().hasAnnotation(Functional… in isFunctionalInterfaceType()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistAnnotationDeclaration.java110 return ctClass.hasAnnotation(canonicalName); in hasDirectlyAnnotation()
DJavassistEnumDeclaration.java158 return ctClass.hasAnnotation(canonicalName); in hasDirectlyAnnotation()
DJavassistInterfaceDeclaration.java193 return ctClass.hasAnnotation(canonicalName); in hasDirectlyAnnotation()
DJavassistClassDeclaration.java77 return ctClass.hasAnnotation(canonicalName); 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_model_typesystem_ReferenceTypeImpl.txt25hasAnnotation(FunctionalInterface.class.getCanonicalName()) ==> com.github.javaparser.symbolsolver…
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistInterfaceDeclarationTest.java138 assertTrue(compilationUnit.hasAnnotation("com.github.javaparser.test.TestAnnotation")); in testHasAnnotation()
DJavassistEnumDeclarationTest.java139 assertTrue(compilationUnit.hasAnnotation("com.github.javaparser.test.TestAnnotation")); in testHasAnnotation()
DJavassistClassDeclarationTest.java153 assertTrue(compilationUnit.hasAnnotation("com.github.javaparser.test.TestAnnotation")); in testHasAnnotation()
/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.java196 default boolean hasAnnotation(String qualifiedName) { in hasAnnotation() method
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/model/typesystem/
DReferenceTypeImpl.java100 … return this.getTypeDeclaration().hasAnnotation(FunctionalInterface.class.getCanonicalName()); in isAssignableBy()
/external/junit/src/main/java/org/junit/experimental/theories/
DParameterSignature.java98 public boolean hasAnnotation(Class<? extends Annotation> type) { in hasAnnotation() method in ParameterSignature
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/declarations/
DResolvedReferenceTypeDeclaration.java246 default boolean hasAnnotation(String qualifiedName) { in hasAnnotation() method
/external/junit-params/src/main/java/junitparams/internal/
DTestMethod.java89 return frameworkMethodAnnotations.hasAnnotation(Ignore.class); in hasIgnoredAnnotation()
/external/dokka/core/src/main/kotlin/javadoc/
Ddocbase.kt89 private fun DocumentationNode.hasAnnotation(klass: KClass<*>) = klass.qualifiedName in annotations.… in <lambda>() method
391 override fun isTransient(): Boolean = node.hasAnnotation(Transient::class) in constantValue()
394 override fun isVolatile(): Boolean = node.hasAnnotation(Volatile::class) in constantValue()