Package org.hotswap.agent.util.signature
Enum ClassSignatureElement
- java.lang.Object
-
- java.lang.Enum<ClassSignatureElement>
-
- org.hotswap.agent.util.signature.ClassSignatureElement
-
- All Implemented Interfaces:
Serializable,Comparable<ClassSignatureElement>
public enum ClassSignatureElement extends Enum<ClassSignatureElement>
element used to signature evaluation- Author:
- Erki Ehtla, Vladimir Dvorak
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLASS_ANNOTATIONCONSTRUCTORCONSTRUCTOR_PRIVATEFIELDFIELD_ANNOTATIONFIELD_STATICINTERFACESMETHODMETHOD_ANNOTATIONMETHOD_EXCEPTIONMETHOD_PARAM_ANNOTATIONMETHOD_PRIVATEMETHOD_STATICSUPER_CLASS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClassSignatureElementvalueOf(String name)Returns the enum constant of this type with the specified name.static ClassSignatureElement[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUPER_CLASS
public static final ClassSignatureElement SUPER_CLASS
-
INTERFACES
public static final ClassSignatureElement INTERFACES
-
CLASS_ANNOTATION
public static final ClassSignatureElement CLASS_ANNOTATION
-
CONSTRUCTOR
public static final ClassSignatureElement CONSTRUCTOR
-
CONSTRUCTOR_PRIVATE
public static final ClassSignatureElement CONSTRUCTOR_PRIVATE
-
METHOD
public static final ClassSignatureElement METHOD
-
METHOD_PRIVATE
public static final ClassSignatureElement METHOD_PRIVATE
-
METHOD_STATIC
public static final ClassSignatureElement METHOD_STATIC
-
METHOD_ANNOTATION
public static final ClassSignatureElement METHOD_ANNOTATION
-
METHOD_PARAM_ANNOTATION
public static final ClassSignatureElement METHOD_PARAM_ANNOTATION
-
METHOD_EXCEPTION
public static final ClassSignatureElement METHOD_EXCEPTION
-
FIELD
public static final ClassSignatureElement FIELD
-
FIELD_STATIC
public static final ClassSignatureElement FIELD_STATIC
-
FIELD_ANNOTATION
public static final ClassSignatureElement FIELD_ANNOTATION
-
-
Method Detail
-
values
public static ClassSignatureElement[] 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 (ClassSignatureElement c : ClassSignatureElement.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClassSignatureElement 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 nameNullPointerException- if the argument is null
-
-