Class VarargArgumentSetterEmitter
java.lang.Object
com.atlassian.bamboo.specs.codegen.emitters.fragment.VarargArgumentSetterEmitter
- All Implemented Interfaces:
CodeEmitter<Iterable<Object>>
Default code generator for any
Iterable
field of EntityProperties
instance.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull String
emitCode
(@NotNull CodeGenerationContext context, @NotNull Iterable<Object> iterable) Generates invocation of a setter method with a variable length argument list.
-
Constructor Details
-
VarargArgumentSetterEmitter
-
-
Method Details
-
emitCode
@NotNull public @NotNull String emitCode(@NotNull @NotNull CodeGenerationContext context, @NotNull @NotNull Iterable<Object> iterable) throws CodeGenerationException Generates invocation of a setter method with a variable length argument list.- Specified by:
emitCode
in interfaceCodeEmitter<Iterable<Object>>
- Throws:
CodeGenerationException
-