public class FieldSetterEmitter<T> extends Object implements CodeEmitter<T>
EntityProperties instance.
Implementation should emit full method invocation statement, starting with ".methodName".| Modifier and Type | Field and Description |
|---|---|
protected String |
methodName |
| Constructor and Description |
|---|
FieldSetterEmitter(String methodName) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull String |
emitCode(@NotNull CodeGenerationContext context,
T argument)
Generates invocation of a setter method with a single argument.
|
protected final String methodName
public FieldSetterEmitter(String methodName)
@NotNull public @NotNull String emitCode(@NotNull @NotNull CodeGenerationContext context, @NotNull T argument) throws CodeGenerationException
emitCode in interface CodeEmitter<T>CodeGenerationExceptionCopyright © 2024 Atlassian Software Systems Pty Ltd. All rights reserved.