Home
last modified time | relevance | path

Searched refs:hasAnnotation (Results 1 – 12 of 12) 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/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/filter/
DAbstractAnnotatedMethodFilter.java37 if (hasAnnotation(methodNode)) { in filter()
43 private boolean hasAnnotation(final MethodNode methodNode) { in hasAnnotation() method in AbstractAnnotatedMethodFilter
/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.java867 assertEquals(true, ca.hasAnnotation("foo.bar.MyAnnotation")); in testHasAnnotation()
868 assertEquals(false, ca.hasAnnotation("foo.bar.MyAnnotation2")); in testHasAnnotation()
869 assertEquals(false, ca.hasAnnotation("MyAnnotation")); in testHasAnnotation()
870 assertEquals(false, ca.hasAnnotation("foo.bar.MyUnexistingAnnotation")); in testHasAnnotation()
873 assertEquals(true, cb.hasAnnotation("foo.bar.MyAnnotation")); in testHasAnnotation()
874 assertEquals(true, cb.hasAnnotation("foo.bar.MyAnnotation2")); in testHasAnnotation()
875 assertEquals(false, cb.hasAnnotation("MyAnnotation")); in testHasAnnotation()
876 assertEquals(false, cb.hasAnnotation("foo.bar.MyUnexistingAnnotation")); in testHasAnnotation()
/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-testing/src/test/resources/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-core/src/main/java/com/github/javaparser/resolution/declarations/
DResolvedReferenceTypeDeclaration.java217 default boolean hasAnnotation(String qualifiedName) { in hasAnnotation() method
/external/junit/src/main/java/org/junit/experimental/theories/
DParameterSignature.java98 public boolean hasAnnotation(Class<? extends Annotation> type) { in hasAnnotation() method in ParameterSignature
/external/junit-params/src/main/java/junitparams/internal/
DTestMethod.java89 return frameworkMethodAnnotations.hasAnnotation(Ignore.class); in hasIgnoredAnnotation()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/model/typesystem/
DReferenceTypeImpl.java109 … return this.getTypeDeclaration().hasAnnotation(FunctionalInterface.class.getCanonicalName()); in isAssignableBy()