package io.vertx.codegen;

/**
 * Describes a module.
 *
 * @author <a href="mailto:julien@julienviet.com">Julien Viet</a>
 */
public class ModuleInfo {

  private final String fqn;
  private final String name;

  public ModuleInfo(String fqn, String name) {
    this.fqn = fqn;
    this.name = name;
  }

  /**
   * @return the module fqn, i.e the name of the package annotated with the {@link io.vertx.codegen.annotations.GenModule} annotation
   */
  public String getFqn() {
    return fqn;
  }

  /**
   * @return the module name
   */
  public String getName() {
    return name;
  }
}

@@ -582,11 +582,204 @@
 ame;%0A  %7D
+%0A%0A  /**%0A   * @param _case the formatting case%0A   * @return the module name in the specified case%0A   */%0A  public String getName(Case _case) %7B%0A    return _case.format(Case.CAMEL.parse(name));%0A  %7D
 %0A%7D%0A

Allow to format a module name with a case