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