public class EncodingParam extends FixedParam<Charset>
defaultValue, valueexpression, paramType| Constructor and Description |
|---|
EncodingParam(String expression,
Charset defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
String |
buildCode(String indent) |
Set<String> |
getImports()
Gets all classes that are required to be statically imported by generated code.
|
getValue, isDefaultbuildStringLiteral, findConstantNames, findConstantNamesMap, getExpression, getMethodDefinitions, getStaticImports, getType, isIgnoredpublic Set<String> getImports()
MethodParamOverride this method if you implement a custom MethodParam that requires some particular static import.
getImports in class MethodParampublic String buildCode(String indent)
buildCode in class FixedParam<Charset>Copyright © 2024. All rights reserved.