Class VarargArgumentSetterEmitter
- java.lang.Object
-
- com.atlassian.bamboo.specs.codegen.emitters.fragment.VarargArgumentSetterEmitter
-
- All Implemented Interfaces:
CodeEmitter<Iterable<Object>>
public class VarargArgumentSetterEmitter extends Object implements CodeEmitter<Iterable<Object>>
Default code generator for anyIterablefield ofEntityPropertiesinstance.
-
-
Constructor Summary
Constructors Constructor Description VarargArgumentSetterEmitter(String methodName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull StringemitCode(@NotNull CodeGenerationContext context, @NotNull Iterable<Object> iterable)Generates invocation of a setter method with a variable length argument list.
-
-
-
Constructor Detail
-
VarargArgumentSetterEmitter
public VarargArgumentSetterEmitter(String methodName)
-
-
Method Detail
-
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:
emitCodein interfaceCodeEmitter<Iterable<Object>>- Throws:
CodeGenerationException
-
-