Class ModuleInfoCompiler

java.lang.Object
org.moditect.internal.compiler.ModuleInfoCompiler

public class ModuleInfoCompiler extends Object
  • Constructor Details

    • ModuleInfoCompiler

      public ModuleInfoCompiler()
  • Method Details

    • parseModuleInfo

      public static com.github.javaparser.ast.modules.ModuleDeclaration parseModuleInfo(Path moduleInfo)
    • parseModuleInfo

      public static com.github.javaparser.ast.modules.ModuleDeclaration parseModuleInfo(String moduleInfoSource)
    • compileModuleInfo

      public static byte[] compileModuleInfo(com.github.javaparser.ast.modules.ModuleDeclaration module, String mainClass, String version)
    • getNameForBinary

      private static String getNameForBinary(com.github.javaparser.ast.expr.Name name)
    • getNameForBinary

      private static String getNameForBinary(String typeName)
    • requiresModifiersAsInt

      private static int requiresModifiersAsInt(com.github.javaparser.ast.nodeTypes.NodeWithModifiers<?> modifiers)