public enum CtAnnotatedElementType extends java.lang.Enum<CtAnnotatedElementType>
Enum Constant and Description |
---|
ANNOTATION_TYPE
Annotation type declaration
|
CONSTRUCTOR
Constructor declaration
|
FIELD
Field declaration (includes enum constants)
|
LOCAL_VARIABLE
Local variable declaration
|
METHOD
Method declaration
|
PACKAGE
Package declaration
|
PARAMETER
Parameter declaration
|
TYPE
Class, interface (including annotation type), or enum declaration
|
TYPE_PARAMETER
Type parameter declaration
|
TYPE_USE
Use of a type
|
Modifier and Type | Method and Description |
---|---|
static CtAnnotatedElementType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CtAnnotatedElementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CtAnnotatedElementType TYPE
public static final CtAnnotatedElementType FIELD
public static final CtAnnotatedElementType METHOD
public static final CtAnnotatedElementType PARAMETER
public static final CtAnnotatedElementType CONSTRUCTOR
public static final CtAnnotatedElementType LOCAL_VARIABLE
public static final CtAnnotatedElementType ANNOTATION_TYPE
public static final CtAnnotatedElementType PACKAGE
public static final CtAnnotatedElementType TYPE_PARAMETER
public static final CtAnnotatedElementType TYPE_USE
public static CtAnnotatedElementType[] values()
for (CtAnnotatedElementType c : CtAnnotatedElementType.values()) System.out.println(c);
public static CtAnnotatedElementType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2007–2021 Inria. All rights reserved.