- All Implemented Interfaces:
Serializable,Comparable<GeneratedAnnotationType>,Constable
Java class for GeneratedAnnotationType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="GeneratedAnnotationType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="DETECT_FROM_JDK"/>
<enumeration value="JAVAX_ANNOTATION_GENERATED"/>
<enumeration value="JAVAX_ANNOTATION_PROCESSING_GENERATED"/>
<enumeration value="JAKARTA_ANNOTATION_GENERATED"/>
<enumeration value="ORG_JOOQ_GENERATED"/>
</restriction>
</simpleType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTheGeneratedannotation should be detected automatically from the JDK used at code generation time.Use thejakarta.annotation.Generatedannotation.Use thejavax.annotation.Generatedannotation.Use thejavax.annotation.processing.Generatedannotation.Use theGeneratedannotation. -
Method Summary
Modifier and TypeMethodDescriptionstatic GeneratedAnnotationTypevalue()static GeneratedAnnotationTypeReturns the enum constant of this class with the specified name.static GeneratedAnnotationType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DETECT_FROM_JDK
TheGeneratedannotation should be detected automatically from the JDK used at code generation time. -
JAVAX_ANNOTATION_GENERATED
Use thejavax.annotation.Generatedannotation. -
JAVAX_ANNOTATION_PROCESSING_GENERATED
Use thejavax.annotation.processing.Generatedannotation. -
JAKARTA_ANNOTATION_GENERATED
Use thejakarta.annotation.Generatedannotation. -
ORG_JOOQ_GENERATED
Use theGeneratedannotation.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
value
-
fromValue
-