public final enum

ElementType

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ java.lang.annotation.ElementType

Class Overview

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

Public Methods
static ElementType valueOf(String name)
final static ElementType[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Public Methods

public static ElementType valueOf (String name)

Since: API Level 1

public static final ElementType[] values ()

Since: API Level 1