java.lang.Object
com.atlassian.bamboo.specs.codegen.emitters.value.LiteralEmitter
All Implemented Interfaces:
com.atlassian.bamboo.specs.api.codegen.CodeEmitter<Object>

public class LiteralEmitter extends Object implements com.atlassian.bamboo.specs.api.codegen.CodeEmitter<Object>
Generates code for simple Java types.
  • Constructor Details

    • LiteralEmitter

      public LiteralEmitter()
  • Method Details

    • emitCode

      @NotNull public @NotNull String emitCode(@NotNull @NotNull com.atlassian.bamboo.specs.api.codegen.CodeGenerationContext context, @NotNull @NotNull Object value) throws com.atlassian.bamboo.specs.api.codegen.CodeGenerationException
      Specified by:
      emitCode in interface com.atlassian.bamboo.specs.api.codegen.CodeEmitter<Object>
      Throws:
      com.atlassian.bamboo.specs.api.codegen.CodeGenerationException