se.arkalix.dto.DtoGeneratorBackend Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kalix-dto-processor Show documentation
Show all versions of kalix-dto-processor Show documentation
Contains an annotation processor for automatically generating data transmission objects specified using the annotations of the kalix-dto library.
The newest version!
package se.arkalix.dto;
import com.squareup.javapoet.TypeSpec;
// TODO: Make it possible to use custom DtoImplementer implementations.
public interface DtoGeneratorBackend {
DtoCodec codec();
String decodeMethodName();
String encodeMethodName();
void generateDecodeMethodFor(DtoTarget target, TypeSpec.Builder implementation);
void generateEncodeMethodFor(DtoTarget target, TypeSpec.Builder implementation);
}