Package org.moditect.internal.compiler
Class ModuleInfoCompiler
java.lang.Object
org.moditect.internal.compiler.ModuleInfoCompiler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]compileModuleInfo(com.github.javaparser.ast.modules.ModuleDeclaration module, String mainClass, String version) private static StringgetNameForBinary(com.github.javaparser.ast.expr.Name name) private static StringgetNameForBinary(String typeName) static com.github.javaparser.ast.modules.ModuleDeclarationparseModuleInfo(String moduleInfoSource) static com.github.javaparser.ast.modules.ModuleDeclarationparseModuleInfo(Path moduleInfo) private static intrequiresModifiersAsInt(com.github.javaparser.ast.nodeTypes.NodeWithModifiers<?> modifiers)
-
Constructor Details
-
ModuleInfoCompiler
public ModuleInfoCompiler()
-
-
Method Details
-
parseModuleInfo
-
parseModuleInfo
public static com.github.javaparser.ast.modules.ModuleDeclaration parseModuleInfo(String moduleInfoSource) -
compileModuleInfo
-
getNameForBinary
-
getNameForBinary
-
requiresModifiersAsInt
private static int requiresModifiersAsInt(com.github.javaparser.ast.nodeTypes.NodeWithModifiers<?> modifiers)
-