public static enum PsiAnnotation.TargetType extends java.lang.Enum<PsiAnnotation.TargetType>
ElementType
).Enum Constant and Description |
---|
ANNOTATION_TYPE |
CONSTRUCTOR |
FIELD |
LOCAL_VARIABLE |
METHOD |
MODULE |
PACKAGE |
PARAMETER |
RECORD_COMPONENT |
TYPE |
TYPE_PARAMETER |
TYPE_USE |
UNKNOWN |
Modifier and Type | Field and Description |
---|---|
static PsiAnnotation.TargetType[] |
EMPTY_ARRAY |
Modifier and Type | Method and Description |
---|---|
static PsiAnnotation.TargetType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PsiAnnotation.TargetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PsiAnnotation.TargetType TYPE
public static final PsiAnnotation.TargetType FIELD
public static final PsiAnnotation.TargetType METHOD
public static final PsiAnnotation.TargetType PARAMETER
public static final PsiAnnotation.TargetType CONSTRUCTOR
public static final PsiAnnotation.TargetType LOCAL_VARIABLE
public static final PsiAnnotation.TargetType ANNOTATION_TYPE
public static final PsiAnnotation.TargetType PACKAGE
public static final PsiAnnotation.TargetType TYPE_USE
public static final PsiAnnotation.TargetType TYPE_PARAMETER
public static final PsiAnnotation.TargetType MODULE
public static final PsiAnnotation.TargetType RECORD_COMPONENT
public static final PsiAnnotation.TargetType UNKNOWN
public static final PsiAnnotation.TargetType[] EMPTY_ARRAY
public static PsiAnnotation.TargetType[] values()
for (PsiAnnotation.TargetType c : PsiAnnotation.TargetType.values()) System.out.println(c);
public static PsiAnnotation.TargetType 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 null