Home
last modified time | relevance | path

Searched refs:hasMatchingAnnotation (Results 1 – 2 of 2) sorted by relevance

/cts/tests/signature/lib/common/src/android/signature/cts/
DReflectionHelper.java430 public static boolean hasMatchingAnnotation(AnnotatedElement elem, String annotationSpec) { in hasMatchingAnnotation() method in ReflectionHelper
458 if (hasMatchingAnnotation(c, annotationSpec)) { in getAnnotatedConstructors()
480 if (hasMatchingAnnotation(m, annotationSpec)) { in getAnnotatedMethods()
496 if (hasMatchingAnnotation(f, annotationSpec)) { in getAnnotatedFields()
508 if (hasMatchingAnnotation(clazz, annotationSpec)) { in isInAnnotatedClass()
519 return hasMatchingAnnotation(field, annotationSpec) in isAnnotatedOrInAnnotatedClass()
528 return hasMatchingAnnotation(constructor, annotationSpec) in isAnnotatedOrInAnnotatedClass()
536 return hasMatchingAnnotation(method, annotationSpec) in isAnnotatedOrInAnnotatedClass()
DAnnotationChecker.java53 if (ReflectionHelper.hasMatchingAnnotation(clazz, annotationSpec)) { in AnnotationChecker()