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

io.smallrye.mutiny.vertx.codegen.lang.PackageDeclarationCodeWriter Maven / Gradle / Ivy

package io.smallrye.mutiny.vertx.codegen.lang;

import io.smallrye.mutiny.vertx.codegen.MutinyGenerator;
import io.vertx.codegen.ClassModel;

import java.io.PrintWriter;

public class PackageDeclarationCodeWriter implements CodeWriter {

    @Override
    public void generate(ClassModel model, PrintWriter writer) {
        writer.print("package ");
        writer.print(model.getType().translatePackageName(MutinyGenerator.ID));
        writer.println(";");
        writer.println();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy