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 classCanBeAnnotated.Predicatesstatic classCanBeAnnotated.Utils
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisAnnotatedWith(DescribedPredicate<? super JavaAnnotation> predicate)booleanisAnnotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)booleanisAnnotatedWith(java.lang.String annotationTypeName)booleanisMetaAnnotatedWith(DescribedPredicate<? super JavaAnnotation> predicate)booleanisMetaAnnotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)booleanisMetaAnnotatedWith(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)
-
-