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.java472 public static boolean hasMatchingAnnotation(AnnotatedElement elem, String annotationSpec) { in hasMatchingAnnotation() method in ReflectionHelper
511 if (hasMatchingAnnotation(c, annotationSpec)) { in getAnnotatedConstructorsImpl()
543 if (hasMatchingAnnotation(m, annotationSpec)) { in getAnnotatedMethodsImpl()
569 if (hasMatchingAnnotation(f, annotationSpec)) { in getAnnotatedFieldsImpl()
581 if (hasMatchingAnnotation(clazz, annotationSpec)) { in isInAnnotatedClass()
592 return hasMatchingAnnotation(field, annotationSpec) in isAnnotatedOrInAnnotatedClass()
601 return hasMatchingAnnotation(constructor, annotationSpec) in isAnnotatedOrInAnnotatedClass()
609 return hasMatchingAnnotation(method, annotationSpec) in isAnnotatedOrInAnnotatedClass()
DAnnotationChecker.java53 if (ReflectionHelper.hasMatchingAnnotation(clazz, annotationSpec)) { in AnnotationChecker()