java.lang.Object
io.reactiverse.es4x.codegen.generator.Util

public final class Util extends Object
  • Method Details

    • isOptionalModule

      public static boolean isOptionalModule(String name)
    • isExcludedClass

      public static boolean isExcludedClass(String name)
    • jvmClasses

      public static List<?> jvmClasses(String kind)
    • genType

      public static String genType(io.vertx.codegen.type.TypeInfo type)
    • genType

      public static String genType(io.vertx.codegen.type.TypeInfo type, boolean parameter)
    • genGeneric

      public static String genGeneric(List<? extends io.vertx.codegen.TypeParamInfo> params)
    • importType

      public static void importType(PrintWriter writer, Map<String,Object> session, io.vertx.codegen.type.TypeInfo referencedType, String simpleName, String module)
    • getNPMScope

      public static String getNPMScope(io.vertx.codegen.ModuleInfo module)
    • sameModule

      public static boolean sameModule(io.vertx.codegen.type.ClassTypeInfo typeA, io.vertx.codegen.type.ClassTypeInfo typeB)
    • includeFileIfPresent

      public static String includeFileIfPresent(String file)
    • generateLicense

      public static void generateLicense(PrintWriter writer)
    • cleanReserved

      public static String cleanReserved(String value)
    • getIncludes

      public static io.vertx.core.json.JsonObject getIncludes(String type)
    • getOverrideArgs

      public static String getOverrideArgs(String type, String method)
    • getOverrideReturn

      public static String getOverrideReturn(String type, String method)
    • isExcluded

      public static boolean isExcluded(String type, String method, Object params)
    • generateDoc

      public static void generateDoc(PrintWriter writer, io.vertx.codegen.doc.Doc doc, String margin)
    • registerJvmClasses

      public static void registerJvmClasses()
    • genType

      public static CharSequence genType(String name)