All Downloads are FREE. Search and download functionalities are using the official Maven repository.

se.arkalix.dto.DtoGeneratorBackend Maven / Gradle / Ivy

Go to download

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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy