Lombok.ast - v0.2

lombok.ast.syntaxChecks
Enum MessageKey

java.lang.Object
  extended by java.lang.Enum<MessageKey>
      extended by lombok.ast.syntaxChecks.MessageKey
All Implemented Interfaces:
Serializable, Comparable<MessageKey>, MessageKey

public enum MessageKey
extends Enum<MessageKey>
implements MessageKey


Enum Constant Summary
CONSTRUCTOR_INVOCATION_NOT_LEGAL_HERE
           
DECLARATION_NOT_ALLOWED
           
IDENTIFIER_EMPTY
          Signals an identifier node has zero characters in it.
IDENTIFIER_INVALID
          Signals an identifier node is not a valid java identifier.
INITIALIZER_STATIC_IN_NON_STATIC_TYPE
           
INITIALIZERS_INITIALIZER_MUST_COMPLETE_NORMALLY
           
MODIFIERS_ABSTRACT_NOT_ALLOWED
           
MODIFIERS_DUPLICATE_KEYWORD
           
MODIFIERS_EMPTY_MODIFIER
           
MODIFIERS_MODIFIER_CONFLICT
           
MODIFIERS_MODIFIER_NOT_ALLOWED
           
MODIFIERS_STATIC_CHAIN
           
MODIFIERS_UNKNOWN_MODIFIER
           
NODE_CHILD_TYPE_INCORRECT
           
NODE_MISSING_MANDATORY_CHILD
           
PARSEARTEFACT
           
STATEMENT_ONLY_LEGAL_IN_SWITCH
           
STATEMENT_UNREACHABLE
           
SWITCH_DOES_NOT_START_WITH_CASE
           
TERMINAL_INVALID
           
TERMINAL_MISSING
           
TRY_LONE_TRY
           
TYPEARGUMENT_PRIMITIVE_NOT_ALLOWED
           
TYPEREFERENCE_VOID_NOT_ALLOWED
           
TYPEVARIABLE_PRIMITIVE_NOT_ALLOWED
           
VARIABLEDEFINITION_EMPTY
           
VARIABLEDEFINITION_ONLY_ONE
          Signals that only one variable name is legal in a given definition, but there is more than one.
VARIABLEDEFINITION_VARARGS_NOT_LEGAL_HERE
           
VARIABLEDEFINITIONENTRY_EXTENDED_DIMENSIONS_NOT_LEGAL
           
VARIABLEDEFINITIONENTRY_INITIALIZER_NOT_ALLOWED
          Signals some variable definition has an initializer but those aren't allowed there.
 
Method Summary
 String getKey()
           
 String toString()
           
static MessageKey valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MessageKey[] 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
 

Enum Constant Detail

IDENTIFIER_EMPTY

public static final MessageKey IDENTIFIER_EMPTY
Signals an identifier node has zero characters in it.


IDENTIFIER_INVALID

public static final MessageKey IDENTIFIER_INVALID
Signals an identifier node is not a valid java identifier.


VARIABLEDEFINITION_ONLY_ONE

public static final MessageKey VARIABLEDEFINITION_ONLY_ONE
Signals that only one variable name is legal in a given definition, but there is more than one.


VARIABLEDEFINITION_EMPTY

public static final MessageKey VARIABLEDEFINITION_EMPTY

VARIABLEDEFINITION_VARARGS_NOT_LEGAL_HERE

public static final MessageKey VARIABLEDEFINITION_VARARGS_NOT_LEGAL_HERE

VARIABLEDEFINITIONENTRY_INITIALIZER_NOT_ALLOWED

public static final MessageKey VARIABLEDEFINITIONENTRY_INITIALIZER_NOT_ALLOWED
Signals some variable definition has an initializer but those aren't allowed there.


VARIABLEDEFINITIONENTRY_EXTENDED_DIMENSIONS_NOT_LEGAL

public static final MessageKey VARIABLEDEFINITIONENTRY_EXTENDED_DIMENSIONS_NOT_LEGAL

DECLARATION_NOT_ALLOWED

public static final MessageKey DECLARATION_NOT_ALLOWED

MODIFIERS_DUPLICATE_KEYWORD

public static final MessageKey MODIFIERS_DUPLICATE_KEYWORD

MODIFIERS_STATIC_CHAIN

public static final MessageKey MODIFIERS_STATIC_CHAIN

MODIFIERS_ABSTRACT_NOT_ALLOWED

public static final MessageKey MODIFIERS_ABSTRACT_NOT_ALLOWED

INITIALIZER_STATIC_IN_NON_STATIC_TYPE

public static final MessageKey INITIALIZER_STATIC_IN_NON_STATIC_TYPE

MODIFIERS_EMPTY_MODIFIER

public static final MessageKey MODIFIERS_EMPTY_MODIFIER

MODIFIERS_UNKNOWN_MODIFIER

public static final MessageKey MODIFIERS_UNKNOWN_MODIFIER

MODIFIERS_MODIFIER_NOT_ALLOWED

public static final MessageKey MODIFIERS_MODIFIER_NOT_ALLOWED

MODIFIERS_MODIFIER_CONFLICT

public static final MessageKey MODIFIERS_MODIFIER_CONFLICT

TRY_LONE_TRY

public static final MessageKey TRY_LONE_TRY

STATEMENT_ONLY_LEGAL_IN_SWITCH

public static final MessageKey STATEMENT_ONLY_LEGAL_IN_SWITCH

SWITCH_DOES_NOT_START_WITH_CASE

public static final MessageKey SWITCH_DOES_NOT_START_WITH_CASE

INITIALIZERS_INITIALIZER_MUST_COMPLETE_NORMALLY

public static final MessageKey INITIALIZERS_INITIALIZER_MUST_COMPLETE_NORMALLY

CONSTRUCTOR_INVOCATION_NOT_LEGAL_HERE

public static final MessageKey CONSTRUCTOR_INVOCATION_NOT_LEGAL_HERE

TYPEARGUMENT_PRIMITIVE_NOT_ALLOWED

public static final MessageKey TYPEARGUMENT_PRIMITIVE_NOT_ALLOWED

TYPEVARIABLE_PRIMITIVE_NOT_ALLOWED

public static final MessageKey TYPEVARIABLE_PRIMITIVE_NOT_ALLOWED

TYPEREFERENCE_VOID_NOT_ALLOWED

public static final MessageKey TYPEREFERENCE_VOID_NOT_ALLOWED

STATEMENT_UNREACHABLE

public static final MessageKey STATEMENT_UNREACHABLE

NODE_MISSING_MANDATORY_CHILD

public static final MessageKey NODE_MISSING_MANDATORY_CHILD

NODE_CHILD_TYPE_INCORRECT

public static final MessageKey NODE_CHILD_TYPE_INCORRECT

PARSEARTEFACT

public static final MessageKey PARSEARTEFACT

TERMINAL_MISSING

public static final MessageKey TERMINAL_MISSING

TERMINAL_INVALID

public static final MessageKey TERMINAL_INVALID
Method Detail

values

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

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

valueOf

public static MessageKey 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

getKey

public String getKey()
Specified by:
getKey in interface MessageKey

toString

public String toString()
Specified by:
toString in interface MessageKey
Overrides:
toString in class Enum<MessageKey>

Lombok.ast - v0.2

Copyright © 2010-2011 The Project Lombok Authors, licensed under the MIT licence.