Package gw.lang.parser
Enum AnnotationUseSiteTarget
- All Implemented Interfaces:
Serializable
,Comparable<AnnotationUseSiteTarget>
,java.lang.constant.Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean
private final boolean
private final Keyword
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
AnnotationUseSiteTarget
(Keyword keyword, boolean bAccessModifierOk, boolean bFinalModifierOk) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
static AnnotationUseSiteTarget
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 Details
-
field
the backing field for a property -
accessors
the property accessor methods, both get and set if applicable -
get
the property get accessor -
set
the property set accessor -
param
the property set method's parameter -
receiver
the hidden "this" parameter in enhancement method
-
-
Field Details
-
_keyword
-
_bAccessModifierOk
private final boolean _bAccessModifierOk -
_bFinalModifierOk
private final boolean _bFinalModifierOk
-
-
Constructor Details
-
AnnotationUseSiteTarget
private AnnotationUseSiteTarget(Keyword keyword, boolean bAccessModifierOk, boolean bFinalModifierOk)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
isAccessModifierOk
public boolean isAccessModifierOk() -
isFinalModifierOk
public boolean isFinalModifierOk()
-