Package io.quarkus.qute
Annotation Type TemplateEnum
-
@Target(TYPE) @Retention(RUNTIME) public @interface TemplateEnum
This annotation is functionally equivalent to@TemplateData(namespace = TemplateData.SIMPLENAME), i.e. a namespace resolver is automatically generated for the target enum. The simple name of the target enum is used as the namespace. The generated namespace resolver can be used to access enum constants, static methods, etc.If an enum also declares the
TemplateDataannotation or is specified by anyTemplateData.target()then theTemplateEnumannotation is ignored.TemplateEnumdeclared on non-enum classes is ignored.- See Also:
TemplateData,NamespaceResolver