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 accessorsthe property accessor methods, both get and set if applicablefieldthe backing field for a propertygetthe property get accessorparamthe property set method's parameterreceiverthe hidden "this" parameter in enhancement methodsetthe property set accessor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description KeywordgetKeyword()booleanisAccessModifierOk()booleanisFinalModifierOk()static AnnotationUseSiteTargetvalueOf(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()
-
-