Class ModuleInfoCompiler


  • public class ModuleInfoCompiler
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] compileModuleInfo​(com.github.javaparser.ast.modules.ModuleDeclaration module, java.lang.String mainClass, java.lang.String version)  
      private static java.lang.String getNameForBinary​(com.github.javaparser.ast.expr.Name name)  
      private static java.lang.String getNameForBinary​(java.lang.String typeName)  
      static com.github.javaparser.ast.modules.ModuleDeclaration parseModuleInfo​(java.lang.String moduleInfoSource)  
      static com.github.javaparser.ast.modules.ModuleDeclaration parseModuleInfo​(java.nio.file.Path moduleInfo)  
      private static int requiresModifiersAsInt​(com.github.javaparser.ast.nodeTypes.NodeWithModifiers<?> modifiers)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ModuleInfoCompiler

        public ModuleInfoCompiler()
    • Method Detail

      • parseModuleInfo

        public static com.github.javaparser.ast.modules.ModuleDeclaration parseModuleInfo​(java.nio.file.Path moduleInfo)
      • parseModuleInfo

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

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

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

        private static java.lang.String getNameForBinary​(java.lang.String typeName)
      • requiresModifiersAsInt

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