Home
last modified time | relevance | path

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

/external/doclava/src/com/google/doclava/
DAndroidLinter.java76 boolean hasAnnotation = false; in lintMethod()
79 hasAnnotation = true; in lintMethod()
105 if (!hasAnnotation) { in lintMethod()
134 boolean hasAnnotation = false; in lintVariable()
137 hasAnnotation |= b.type().qualifiedNameMatches("android", "annotation.IntDef"); in lintVariable()
140 if (!hasAnnotation) { in lintVariable()
147 boolean hasAnnotation = false; in lintVariable()
149 hasAnnotation |= a.type().qualifiedNameMatches("android", "annotation.NonNull"); in lintVariable()
150 hasAnnotation |= a.type().qualifiedNameMatches("android", "annotation.Nullable"); in lintVariable()
152 if (!hasAnnotation) { in lintVariable()
DStubs.java1412 boolean hasAnnotation = false; in checkSystemPermissions()
1415 hasAnnotation = true; in checkSystemPermissions()
1452 hasAnnotation = false; in checkSystemPermissions()
1461 if (!hasAnnotation) { in checkSystemPermissions()
/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/javassist/src/main/javassist/
DCtMember.java32 public boolean hasAnnotation(Class clz) { return false; } in hasAnnotation() method in CtMember.Cache
214 public abstract boolean hasAnnotation(Class clz); in hasAnnotation() method in CtMember
DCtClass.java486 public boolean hasAnnotation(Class clz) { in hasAnnotation() method in CtClass
DCtBehavior.java156 public boolean hasAnnotation(Class clz) { in hasAnnotation() method in CtBehavior
DCtField.java250 public boolean hasAnnotation(Class clz) { in hasAnnotation() method in CtField
DCtClassType.java434 public boolean hasAnnotation(Class clz) { in hasAnnotation() method in CtClassType
/external/r8/src/main/java/com/android/tools/r8/graph/
DDexProgramClass.java126 return fields != null && Arrays.stream(fields).anyMatch(DexEncodedField::hasAnnotation); in hasAnnotations()
130 return methods != null && Arrays.stream(methods).anyMatch(DexEncodedMethod::hasAnnotation); in hasAnnotations()
DDexEncodedField.java63 public boolean hasAnnotation() { in hasAnnotation() method in DexEncodedField
DDexEncodedMethod.java375 public boolean hasAnnotation() { in hasAnnotation() method in DexEncodedMethod
/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/robolectric/v1/src/main/java/com/xtremelabs/robolectric/bytecode/
DAndroidTranslator.java116 if (ctClass.hasAnnotation(Instrument.class)) { in shouldInstrument()
118 } else if (ctClass.isInterface() || ctClass.hasAnnotation(DoNotInstrument.class)) { in shouldInstrument()