Searched refs:hasAnnotation (Results 1 – 14 of 14) sorted by relevance
76 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()
1412 boolean hasAnnotation = false; in checkSystemPermissions()1415 hasAnnotation = true; in checkSystemPermissions()1452 hasAnnotation = false; in checkSystemPermissions()1461 if (!hasAnnotation) { in checkSystemPermissions()
19 return hasAnnotation(Parameters.class) in isParametrised()31 public boolean hasAnnotation(Class<? extends Annotation> annotation) { in hasAnnotation() method in FrameworkMethodAnnotations
32 public boolean hasAnnotation(Class clz) { return false; } in hasAnnotation() method in CtMember.Cache214 public abstract boolean hasAnnotation(Class clz); in hasAnnotation() method in CtMember
486 public boolean hasAnnotation(Class clz) { in hasAnnotation() method in CtClass
156 public boolean hasAnnotation(Class clz) { in hasAnnotation() method in CtBehavior
250 public boolean hasAnnotation(Class clz) { in hasAnnotation() method in CtField
434 public boolean hasAnnotation(Class clz) { in hasAnnotation() method in CtClassType
126 return fields != null && Arrays.stream(fields).anyMatch(DexEncodedField::hasAnnotation); in hasAnnotations()130 return methods != null && Arrays.stream(methods).anyMatch(DexEncodedMethod::hasAnnotation); in hasAnnotations()
63 public boolean hasAnnotation() { in hasAnnotation() method in DexEncodedField
375 public boolean hasAnnotation() { in hasAnnotation() method in DexEncodedMethod
98 public boolean hasAnnotation(Class<? extends Annotation> type) { in hasAnnotation() method in ParameterSignature
89 return frameworkMethodAnnotations.hasAnnotation(Ignore.class); in hasIgnoredAnnotation()
116 if (ctClass.hasAnnotation(Instrument.class)) { in shouldInstrument()118 } else if (ctClass.isInterface() || ctClass.hasAnnotation(DoNotInstrument.class)) { in shouldInstrument()