Class JavaCodeFormatter
java.lang.Object
software.amazon.awssdk.codegen.lite.emitters.JavaCodeFormatter
- All Implemented Interfaces:
Function<String,
,String> CodeTransformer
Formats the generated java source code. Uses Eclipse JDT core plugin from the Eclipse SDK.
-
Constructor Summary
ConstructorDescriptionCreates a JavaCodeFormatter using the default formatter options.JavaCodeFormatter
(Map<String, Object> overrideOptions) Creates a JavaCodeFormatter using the default formatter options and optionally applying user provided options on top. -
Method Summary
-
Constructor Details
-
JavaCodeFormatter
public JavaCodeFormatter()Creates a JavaCodeFormatter using the default formatter options. -
JavaCodeFormatter
Creates a JavaCodeFormatter using the default formatter options and optionally applying user provided options on top.- Parameters:
overrideOptions
- user provided options to apply on top of defaults
-
-
Method Details