- All Superinterfaces:
AnnotationProperty.ConstantValue
When creating an
Annotation, we may need to create an enum value
without access to the enumeration.
In such a case, you can use this type when calling Annotation.BuilderBase.putValue(String, Object)
-
Method Summary
Static MethodsMethods inherited from interface io.helidon.common.types.AnnotationProperty.ConstantValue
name, type
-
Method Details
-
create
Create a new enum value, when the enum is not available on classpath.- Parameters:
enumType- type of the enumerationenumName- value of the enumeration- Returns:
- enum value
-
create
Create a new enum value.- Type Parameters:
T- type of the enum- Parameters:
type- enum typevalue- enum value constant- Returns:
- new enum value
-