Class EncodingParam


  • public class EncodingParam
    extends FixedParam<Charset>
    Is a parameter with an encoding (Charset) value.
    Since:
    0.62
    • Constructor Detail

      • EncodingParam

        public EncodingParam​(String expression,
                             Charset 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.