Class ModuleInfoYmlParser

java.lang.Object
io.github.dmlloyd.moduleinfo.ModuleInfoYmlParser

public class ModuleInfoYmlParser extends Object
A module-info.yml parser.
  • Constructor Details

    • ModuleInfoYmlParser

      public ModuleInfoYmlParser(Path moduleInfoYml)
      Construct a new instance.
      Parameters:
      moduleInfoYml - the path to the module-info.yml file
  • Method Details

    • accept

      public void accept(org.objectweb.asm.ClassVisitor classVisitor) throws IOException
      Read the module-info.yml file into the given class visitor.
      Parameters:
      classVisitor - the class visitor (must not be null)
      Throws:
      IOException - if an I/O exception occurred