Package gw.lang.parser
Enum AnnotationUseSiteTarget
- java.lang.Object
-
- java.lang.Enum<AnnotationUseSiteTarget>
-
- gw.lang.parser.AnnotationUseSiteTarget
-
- All Implemented Interfaces:
Serializable
,Comparable<AnnotationUseSiteTarget>
public enum AnnotationUseSiteTarget extends Enum<AnnotationUseSiteTarget>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description accessors
the property accessor methods, both get and set if applicablefield
the backing field for a propertyget
the property get accessorparam
the property set method's parameterreceiver
the hidden "this" parameter in enhancement methodset
the property set accessor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Keyword
getKeyword()
boolean
isAccessModifierOk()
boolean
isFinalModifierOk()
static AnnotationUseSiteTarget
valueOf(String name)
Returns the enum constant of this type with the specified name.static AnnotationUseSiteTarget[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
field
public static final AnnotationUseSiteTarget field
the backing field for a property
-
accessors
public static final AnnotationUseSiteTarget accessors
the property accessor methods, both get and set if applicable
-
get
public static final AnnotationUseSiteTarget get
the property get accessor
-
set
public static final AnnotationUseSiteTarget set
the property set accessor
-
param
public static final AnnotationUseSiteTarget param
the property set method's parameter
-
receiver
public static final AnnotationUseSiteTarget receiver
the hidden "this" parameter in enhancement method
-
-
Method Detail
-
values
public static AnnotationUseSiteTarget[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AnnotationUseSiteTarget c : AnnotationUseSiteTarget.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AnnotationUseSiteTarget valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getKeyword
public Keyword getKeyword()
-
isAccessModifierOk
public boolean isAccessModifierOk()
-
isFinalModifierOk
public boolean isFinalModifierOk()
-
-