Package pascal.taie.language.annotation
Class AnnotationHolder
java.lang.Object
pascal.taie.language.annotation.AnnotationHolder
- All Implemented Interfaces:
Serializable
Container of annotations.
This class makes it easy for a class to implement
Annotated
.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AnnotationHolder
getAnnotation
(String annotationType) boolean
hasAnnotation
(String annotationType) static AnnotationHolder
make
(Collection<Annotation> annotations) Creates an annotation holder that contains the annotations in given collection.
-
Constructor Details
-
AnnotationHolder
-
-
Method Details
-
hasAnnotation
-
getAnnotation
-
getAnnotations
-
make
Creates an annotation holder that contains the annotations in given collection. -
emptyHolder
- Returns:
- an annotation holder that contains no annotations.
-