March 2005
Beginner to intermediate
1254 pages
104h 21m
English
Package java.lang.annotation
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.
public interface Annotation;public enum ElementType; public enum RetentionPolicy;
public @interface Documented; public @interface Inherited; public @interface Retention; public @interface Target;
public class AnnotationTypeMismatchException extends RuntimeException; public class IncompleteAnnotationException extends RuntimeException;
public class AnnotationFormatError extends Error;Read now
Unlock full access