edu.umd.cs.findbugs.jaif
Enum JAIFTokenKind
java.lang.Object
java.lang.Enum<JAIFTokenKind>
edu.umd.cs.findbugs.jaif.JAIFTokenKind
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<JAIFTokenKind>
public enum JAIFTokenKind
- extends java.lang.Enum<JAIFTokenKind>
Method Summary |
java.lang.String |
toString()
|
static JAIFTokenKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static JAIFTokenKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
NEWLINE
public static final JAIFTokenKind NEWLINE
COLON
public static final JAIFTokenKind COLON
DOT
public static final JAIFTokenKind DOT
IDENTIFIER_OR_KEYWORD
public static final JAIFTokenKind IDENTIFIER_OR_KEYWORD
LPAREN
public static final JAIFTokenKind LPAREN
RPAREN
public static final JAIFTokenKind RPAREN
COMMA
public static final JAIFTokenKind COMMA
EQUALS
public static final JAIFTokenKind EQUALS
OCTAL_LITERAL
public static final JAIFTokenKind OCTAL_LITERAL
DECIMAL_LITERAL
public static final JAIFTokenKind DECIMAL_LITERAL
HEX_LITERAL
public static final JAIFTokenKind HEX_LITERAL
FLOATING_POINT_LITERAL
public static final JAIFTokenKind FLOATING_POINT_LITERAL
STRING_LITERAL
public static final JAIFTokenKind STRING_LITERAL
values
public static JAIFTokenKind[] 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 (JAIFTokenKind c : JAIFTokenKind.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static JAIFTokenKind valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Enum<JAIFTokenKind>
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.