Class ModuleInfoSourceParser

java.lang.Object
io.helidon.codegen.ModuleInfoSourceParser

public final class ModuleInfoSourceParser extends Object
Support for parsing module-info.java sources.
  • Method Details

    • parse

      public static ModuleInfo parse(InputStream inputStream)
      Parse the module info from its input stream.
      Parameters:
      inputStream - input stream to parse
      Returns:
      module info
    • parse

      public static ModuleInfo parse(Path path)
      Parse the module info from its source file.
      Parameters:
      path - path to parse
      Returns:
      module info