This package defines the framework for annotations. It includes the base Annotation interface that all annotation types extend, meta-annotation types, their associated enumerated types, and exception and error classes related to annotations. The most important members of this package are the meta-annotation types: Documented , Inherited , Retention , and Target . Interfaces public interface Annotation ; Enumerated Typespublic enum ElementType ; public enum RetentionPolicy ; Annotation Typespublic @interface Documented ; public @interface Inherited ; public @interface Retention ; public @interface Target ; Exceptionspublic class AnnotationTypeMismatchException extends RuntimeException; public class IncompleteAnnotationException extends RuntimeException; Errors public class AnnotationFormatError extends Error; |