Android
java.lang.annotation
public final enum

java.lang.annotation.ElementType

java.lang.Object
java.lang.Enum<E extends java.lang.Enum<E>> Serializable Comparable<T>
java.lang.annotation.ElementType

Defines an enumeration for Java program elements. It is used in conjunction with the Target meta-annotation to restrict the use of an annotation to certain program elements.

Summary

Enum Values

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

Public Methods

      static    ElementType  valueOf(String name)
    final  static    ElementType[]  values()
Methods inherited from class java.lang.Enum
Methods inherited from class java.lang.Object
Methods inherited from interface java.lang.Comparable

Details

Enum Values

public static final ElementType ANNOTATION_TYPE

Annotation type declaration.

public static final ElementType CONSTRUCTOR

Constructor declaration.

public static final ElementType FIELD

Field declaration.

public static final ElementType LOCAL_VARIABLE

Local variable declaration.

public static final ElementType METHOD

Method declaration.

public static final ElementType PACKAGE

Package declaration.

public static final ElementType PARAMETER

Parameter declaration.

public static final ElementType TYPE

Class, interface or enum declaration.

Public Methods

public static ElementType valueOf(String name)

public static final ElementType[] values()

Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48