Interface CanBeAnnotated
-
- All Known Subinterfaces:
HasAnnotations
- All Known Implementing Classes:
AccessTarget
,AccessTarget.CodeUnitCallTarget
,AccessTarget.ConstructorCallTarget
,AccessTarget.FieldAccessTarget
,AccessTarget.MethodCallTarget
,JavaClass
,JavaCodeUnit
,JavaConstructor
,JavaField
,JavaMember
,JavaMethod
,JavaStaticInitializer
public interface CanBeAnnotated
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
CanBeAnnotated.Predicates
static class
CanBeAnnotated.Utils
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isAnnotatedWith(DescribedPredicate<? super JavaAnnotation> predicate)
boolean
isAnnotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
boolean
isAnnotatedWith(java.lang.String annotationTypeName)
boolean
isMetaAnnotatedWith(DescribedPredicate<? super JavaAnnotation> predicate)
boolean
isMetaAnnotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
boolean
isMetaAnnotatedWith(java.lang.String annotationTypeName)
-
-
-
Method Detail
-
isAnnotatedWith
@PublicAPI(usage=ACCESS) boolean isAnnotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
-
isAnnotatedWith
@PublicAPI(usage=ACCESS) boolean isAnnotatedWith(java.lang.String annotationTypeName)
-
isAnnotatedWith
@PublicAPI(usage=ACCESS) boolean isAnnotatedWith(DescribedPredicate<? super JavaAnnotation> predicate)
-
isMetaAnnotatedWith
@PublicAPI(usage=ACCESS) boolean isMetaAnnotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
-
isMetaAnnotatedWith
@PublicAPI(usage=ACCESS) boolean isMetaAnnotatedWith(java.lang.String annotationTypeName)
-
isMetaAnnotatedWith
@PublicAPI(usage=ACCESS) boolean isMetaAnnotatedWith(DescribedPredicate<? super JavaAnnotation> predicate)
-
-