Package org.jvnet.hyperjaxb_annox.plugin
Enum AnnotationTarget
- All Implemented Interfaces:
Serializable,Comparable<AnnotationTarget>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptioncom.sun.codemodel.JAnnotatablegetAnnotatable(com.sun.tools.xjc.outline.Outline outline, com.sun.tools.xjc.outline.ClassOutline classOutline) com.sun.codemodel.JAnnotatablegetAnnotatable(com.sun.tools.xjc.outline.Outline outline, com.sun.tools.xjc.outline.ElementOutline elementOutline) com.sun.codemodel.JAnnotatablegetAnnotatable(com.sun.tools.xjc.outline.Outline outline, com.sun.tools.xjc.outline.EnumConstantOutline enumConstantOutline) com.sun.codemodel.JAnnotatablegetAnnotatable(com.sun.tools.xjc.outline.Outline outline, com.sun.tools.xjc.outline.EnumOutline enumOutline) com.sun.codemodel.JAnnotatablegetAnnotatable(com.sun.tools.xjc.outline.Outline outline, com.sun.tools.xjc.outline.FieldOutline fieldOutline) static AnnotationTargetgetAnnotationTarget(String target) static AnnotationTargetgetAnnotationTarget(Element element, AnnotationTarget defaultAnnotationTarget) getNames()static AnnotationTargetReturns the enum constant of this type with the specified name.static AnnotationTarget[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PACKAGE
-
CLASS
-
PROPERTY_GETTER
-
PROPERTY_SETTER
-
PROPERTY_FIELD
-
PROPERTY_SETTER_PARAMETER
-
ENUM
-
ENUM_CONSTANT
-
ENUM_VALUE_METHOD
-
ENUM_FROM_VALUE_METHOD
-
ELEMENT
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getNames
-
getTarget
-
getAnnotatable
public com.sun.codemodel.JAnnotatable getAnnotatable(com.sun.tools.xjc.outline.Outline outline, com.sun.tools.xjc.outline.EnumOutline enumOutline) throws IllegalArgumentException, UnsupportedOperationException -
getAnnotatable
public com.sun.codemodel.JAnnotatable getAnnotatable(com.sun.tools.xjc.outline.Outline outline, com.sun.tools.xjc.outline.EnumConstantOutline enumConstantOutline) throws IllegalArgumentException, UnsupportedOperationException -
getAnnotatable
public com.sun.codemodel.JAnnotatable getAnnotatable(com.sun.tools.xjc.outline.Outline outline, com.sun.tools.xjc.outline.ClassOutline classOutline) throws IllegalArgumentException, UnsupportedOperationException -
getAnnotatable
public com.sun.codemodel.JAnnotatable getAnnotatable(com.sun.tools.xjc.outline.Outline outline, com.sun.tools.xjc.outline.FieldOutline fieldOutline) throws IllegalArgumentException, UnsupportedOperationException -
getAnnotatable
public com.sun.codemodel.JAnnotatable getAnnotatable(com.sun.tools.xjc.outline.Outline outline, com.sun.tools.xjc.outline.ElementOutline elementOutline) throws IllegalArgumentException, UnsupportedOperationException -
getAnnotationTarget
public static AnnotationTarget getAnnotationTarget(Element element, AnnotationTarget defaultAnnotationTarget) -
getAnnotationTarget
-