org.jsesoft.ri
Enum InspectorType

java.lang.Object
  extended by java.lang.Enum<InspectorType>
      extended by org.jsesoft.ri.InspectorType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<InspectorType>

public enum InspectorType
extends java.lang.Enum<InspectorType>

Specifies names for the different inspector types.


Enum Constant Summary
ANNOTATION_INSPECTOR
           
CLASS_INSPECTOR
           
CONSTRUCTOR_INSPECTOR
           
FIELD_INSPECTOR
           
METHOD_INSPECTOR
           
PARAMS_INSPECTOR
           
 
Method Summary
static InspectorType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static InspectorType[] 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

CLASS_INSPECTOR

public static final InspectorType CLASS_INSPECTOR

FIELD_INSPECTOR

public static final InspectorType FIELD_INSPECTOR

CONSTRUCTOR_INSPECTOR

public static final InspectorType CONSTRUCTOR_INSPECTOR

METHOD_INSPECTOR

public static final InspectorType METHOD_INSPECTOR

PARAMS_INSPECTOR

public static final InspectorType PARAMS_INSPECTOR

ANNOTATION_INSPECTOR

public static final InspectorType ANNOTATION_INSPECTOR
Method Detail

values

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

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

valueOf

public static InspectorType 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 © 2010 JSESoft. All Rights Reserved.