Package org.jboss.jdeparser
Enum Tokens.$KW
- All Implemented Interfaces:
Serializable
,Comparable<Tokens.$KW>
,java.lang.constant.Constable
,Token
,Writable
- Enclosing class:
- Tokens
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final FormatPreferences.Space
private final FormatPreferences.Space
private final String
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
$KW
(String name, FormatPreferences.Space before, FormatPreferences.Space after) private
$KW
(FormatPreferences.Space before, FormatPreferences.Space after) -
Method Summary
Modifier and TypeMethodDescription(package private) static Token
(package private) String
static Tokens.$KW
Returns the enum constant of this type with the specified name.static Tokens.$KW[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.void
write
(SourceFileWriter writer)
-
Enum Constant Details
-
AT_INTERFACE
-
ABSTRACT
-
ASSERT
-
BOOLEAN
-
BREAK
-
BYTE
-
CASE
-
CATCH
-
CHAR
-
CLASS
-
CONST
-
CONTINUE
-
DEFAULT
-
DO
-
DOUBLE
-
ELSE
-
ENUM
-
EXTENDS
-
FINAL
-
FINALLY
-
FLOAT
-
FOR
-
GOTO
-
IF
-
IMPLEMENTS
-
IMPORT
-
INSTANCEOF
-
INT
-
INTERFACE
-
LONG
-
NATIVE
-
NEW
-
PACKAGE
-
PRIVATE
-
PROTECTED
-
PUBLIC
-
RETURN
-
SHORT
-
STATIC
-
STRICTFP
-
SUPER
-
SWITCH
-
SYNCHRONIZED
-
THIS
-
THROW
-
THROWS
-
TRANSIENT
-
TRY
-
VOID
-
VOLATILE
-
WHILE
-
FALSE
-
TRUE
-
NULL
-
-
Field Details
-
kw
-
before
-
after
-
-
Constructor Details
-
$KW
-
$KW
-
-
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
String getKeyword() -
write
- Specified by:
write
in interfaceWritable
- Throws:
IOException
-
forName
-