Class EnumParam<T extends Enum<?> & EnumParam.EnumPropertyValue>

    • Constructor Detail

      • EnumParam

        public EnumParam​(Class<T> paramType,
                         String expression,
                         T defaultValue)
    • Method Detail

      • getImports

        public Set<String> getImports()
        Description copied from class: MethodParam
        Gets all classes that are required to be statically imported by generated code.

        Override this method if you implement a custom MethodParam that requires some particular static import.

        Overrides:
        getImports in class MethodParam
        Returns:
        the set of required classes names that need to be statically imported by generated code.