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

net.zerobuilder.compiler.generate.DtoModuleOutput Maven / Gradle / Ivy

The newest version!
package net.zerobuilder.compiler.generate;

import com.squareup.javapoet.FieldSpec;
import com.squareup.javapoet.TypeSpec;
import net.zerobuilder.compiler.generate.DtoGeneratorOutput.BuilderMethod;

import java.util.List;

public final class DtoModuleOutput {

  public static final class ModuleOutput {
    private final BuilderMethod method;
    private final List typeSpecs;
    private final List cacheFields;

    final BuilderMethod method() {
      return method;
    }

    final List typeSpecs() {
      return typeSpecs;
    }

    final List cacheFields() {
      return cacheFields;
    }

    public ModuleOutput(BuilderMethod method,
                        List typeSpecs,
                        List cacheFields) {
      this.method = method;
      this.typeSpecs = typeSpecs;
      this.cacheFields = cacheFields;
    }
  }

  private DtoModuleOutput() {
    throw new UnsupportedOperationException("no instances");
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy