Annotation Type Enum


@Target(PACKAGE)
@Retention(RUNTIME)
@Repeatable(Enums.class)
public @interface Enum
The Enum annotation captures the necessary information for generating an enum from an existing an existing one.
Author:
Mirko Raner
  • Required Element Summary

    Required Elements 
    Modifier and Type Required Element Description
    Class<? extends Enum<?>> from  
    String generate  
  • Optional Element Summary

    Optional Elements 
    Modifier and Type Optional Element Description
    Options options  
  • Element Details

    • generate

      String generate
      Returns:
      the simple name of the enum to be generated
    • from

      Class<? extends Enum<?>> from
      Returns:
      the original enum from which the new enum will be generated
    • options

      Options options
      Returns:
      additional code generation options for this enum
      Default:
      @pro.projo.interfaces.annotation.Options