Class JavaCodeFormatter

java.lang.Object
software.amazon.awssdk.codegen.lite.emitters.JavaCodeFormatter
All Implemented Interfaces:
Function<String,String>, CodeTransformer

public class JavaCodeFormatter extends Object implements CodeTransformer
Formats the generated java source code. Uses Eclipse JDT core plugin from the Eclipse SDK.
  • Constructor Details

    • JavaCodeFormatter

      public JavaCodeFormatter()
      Creates a JavaCodeFormatter using the default formatter options.
    • JavaCodeFormatter

      public JavaCodeFormatter(Map<String,Object> overrideOptions)
      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