net.entropysoft.transmorph.signature.parser
Enum JavaSyntaxTypeSignatureLexer.TokenType

java.lang.Object
  extended by java.lang.Enum<JavaSyntaxTypeSignatureLexer.TokenType>
      extended by net.entropysoft.transmorph.signature.parser.JavaSyntaxTypeSignatureLexer.TokenType
All Implemented Interfaces:
Serializable, Comparable<JavaSyntaxTypeSignatureLexer.TokenType>
Enclosing class:
JavaSyntaxTypeSignatureLexer

public static enum JavaSyntaxTypeSignatureLexer.TokenType
extends Enum<JavaSyntaxTypeSignatureLexer.TokenType>


Enum Constant Summary
ARRAY
           
END_OF_TOKENS
           
INNER_CLASS_PREFIX
           
JAVA_ID
           
PACKAGE_SEPARATOR
           
TYPE_ARG_BEGIN
           
TYPE_ARG_END
           
TYPE_ARG_QUESTION_MARK
           
TYPE_ARG_SEPARATOR
           
 
Method Summary
static JavaSyntaxTypeSignatureLexer.TokenType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JavaSyntaxTypeSignatureLexer.TokenType[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ARRAY

public static final JavaSyntaxTypeSignatureLexer.TokenType ARRAY

JAVA_ID

public static final JavaSyntaxTypeSignatureLexer.TokenType JAVA_ID

INNER_CLASS_PREFIX

public static final JavaSyntaxTypeSignatureLexer.TokenType INNER_CLASS_PREFIX

TYPE_ARG_BEGIN

public static final JavaSyntaxTypeSignatureLexer.TokenType TYPE_ARG_BEGIN

TYPE_ARG_END

public static final JavaSyntaxTypeSignatureLexer.TokenType TYPE_ARG_END

TYPE_ARG_SEPARATOR

public static final JavaSyntaxTypeSignatureLexer.TokenType TYPE_ARG_SEPARATOR

TYPE_ARG_QUESTION_MARK

public static final JavaSyntaxTypeSignatureLexer.TokenType TYPE_ARG_QUESTION_MARK

PACKAGE_SEPARATOR

public static final JavaSyntaxTypeSignatureLexer.TokenType PACKAGE_SEPARATOR

END_OF_TOKENS

public static final JavaSyntaxTypeSignatureLexer.TokenType END_OF_TOKENS
Method Detail

values

public static JavaSyntaxTypeSignatureLexer.TokenType[] 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 (JavaSyntaxTypeSignatureLexer.TokenType c : JavaSyntaxTypeSignatureLexer.TokenType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static JavaSyntaxTypeSignatureLexer.TokenType 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 name
NullPointerException - if the argument is null


Copyright © 2008-2010 EntropySoft. All Rights Reserved.