Ja.NET Standard Edition 5.0

Documentation API Specification

Contents

Package java.lang.annotation


Classes

interface  Annotation
class  AnnotationFormatError
class  AnnotationTypeMismatchException
interface  Documented
class  IncompleteAnnotationException
interface  Inherited
interface  Retention
interface  Target

Enumerations

enum  ElementType {
  TYPE, FIELD, METHOD, PARAMETER,
  CONSTRUCTOR, LOCAL_VARIABLE, ANNOTATION_TYPE, PACKAGE
}
enum  RetentionPolicy { SOURCE, CLASS, RUNTIME }

Enumeration Type Documentation

An enumeration of element types.

Since:
1.5
Enumerator:
TYPE  Class, interface or enum declaration.
FIELD  Field declaration.
METHOD  Method declaration.
PARAMETER  Parameter declaration.
CONSTRUCTOR  Constructor declaration.
LOCAL_VARIABLE  Local variable declaration.
ANNOTATION_TYPE  Annotation type declaration.
PACKAGE  Package declaration.

An enumeration for annotation retention policies.

Since:
1.5
Enumerator:
SOURCE  Annotation is only available in the source code.
CLASS  Annotation is available in the source code and in the class file, but not at runtime. This is the default policy.
RUNTIME  Annotation is available in the source code, the class file and is available at runtime.