org.sourceforge.jemm.weaver.transformation.field
Enum FieldClassifier.Classification

java.lang.Object
  extended by java.lang.Enum<FieldClassifier.Classification>
      extended by org.sourceforge.jemm.weaver.transformation.field.FieldClassifier.Classification
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FieldClassifier.Classification>
Enclosing class:
FieldClassifier

public static enum FieldClassifier.Classification
extends java.lang.Enum<FieldClassifier.Classification>

A classification of a CtField as needed by the transformation process.


Enum Constant Summary
ALREADYTRANSFORMED
          A field that has already been transformed for internal use.
COLLECTION
          A Jemm Collection type.
KNOWNIMMUTABLE
          A known valid immutable type (String,Integer,Long etc.)
NORMALOBJECT
          A field that doesn't fall into any other category.
PRIMITIVE
          A primitive type field.
SHADOW
          A Shadow object field.
SUPPORTED
          A supported reference type (typically to another JemmObject type.
 
Method Summary
static FieldClassifier.Classification valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FieldClassifier.Classification[] 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

COLLECTION

public static final FieldClassifier.Classification COLLECTION
A Jemm Collection type.


SHADOW

public static final FieldClassifier.Classification SHADOW
A Shadow object field.


KNOWNIMMUTABLE

public static final FieldClassifier.Classification KNOWNIMMUTABLE
A known valid immutable type (String,Integer,Long etc.)


SUPPORTED

public static final FieldClassifier.Classification SUPPORTED
A supported reference type (typically to another JemmObject type.


NORMALOBJECT

public static final FieldClassifier.Classification NORMALOBJECT
A field that doesn't fall into any other category.


PRIMITIVE

public static final FieldClassifier.Classification PRIMITIVE
A primitive type field.


ALREADYTRANSFORMED

public static final FieldClassifier.Classification ALREADYTRANSFORMED
A field that has already been transformed for internal use.

Method Detail

values

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

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

valueOf

public static FieldClassifier.Classification 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


Copyright © 2009. All Rights Reserved.