br.com.objectos.way.code
Enum AnnotationValueKind

java.lang.Object
  extended by java.lang.Enum<AnnotationValueKind>
      extended by br.com.objectos.way.code.AnnotationValueKind
All Implemented Interfaces:
Serializable, Comparable<AnnotationValueKind>

public enum AnnotationValueKind
extends Enum<AnnotationValueKind>

Author:
marcio.endo@objectos.com.br (Marcio Endo)

Enum Constant Summary
ARRAY_BOOLEAN
           
ARRAY_CHAR
           
ARRAY_DOUBLE
           
ARRAY_FLOAT
           
ARRAY_INT
           
ARRAY_LONG
           
ARRAY_STRING
           
ARRAY_TYPE
           
PRIMITIVE_BOOLEAN
           
PRIMITIVE_CHAR
           
PRIMITIVE_DOUBLE
           
PRIMITIVE_FLOAT
           
PRIMITIVE_INT
           
PRIMITIVE_LONG
           
STRING
           
TYPE
           
UNKNOWN
           
 
Method Summary
<T> com.google.common.base.Optional<T>
getIfPresent(Map<String,AnnotationValueInfo> nameMap, String name)
           
 AnnotationValueKind toArray()
           
static AnnotationValueKind valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AnnotationValueKind[] 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_BOOLEAN

public static final AnnotationValueKind ARRAY_BOOLEAN

ARRAY_CHAR

public static final AnnotationValueKind ARRAY_CHAR

ARRAY_DOUBLE

public static final AnnotationValueKind ARRAY_DOUBLE

ARRAY_FLOAT

public static final AnnotationValueKind ARRAY_FLOAT

ARRAY_INT

public static final AnnotationValueKind ARRAY_INT

ARRAY_LONG

public static final AnnotationValueKind ARRAY_LONG

ARRAY_STRING

public static final AnnotationValueKind ARRAY_STRING

ARRAY_TYPE

public static final AnnotationValueKind ARRAY_TYPE

PRIMITIVE_BOOLEAN

public static final AnnotationValueKind PRIMITIVE_BOOLEAN

PRIMITIVE_CHAR

public static final AnnotationValueKind PRIMITIVE_CHAR

PRIMITIVE_DOUBLE

public static final AnnotationValueKind PRIMITIVE_DOUBLE

PRIMITIVE_FLOAT

public static final AnnotationValueKind PRIMITIVE_FLOAT

PRIMITIVE_INT

public static final AnnotationValueKind PRIMITIVE_INT

PRIMITIVE_LONG

public static final AnnotationValueKind PRIMITIVE_LONG

STRING

public static final AnnotationValueKind STRING

TYPE

public static final AnnotationValueKind TYPE

UNKNOWN

public static final AnnotationValueKind UNKNOWN
Method Detail

values

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

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

valueOf

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

toArray

public AnnotationValueKind toArray()

getIfPresent

public <T> com.google.common.base.Optional<T> getIfPresent(Map<String,AnnotationValueInfo> nameMap,
                                                           String name)


Copyright © 2014. All rights reserved.