Class Project.ModuleInfo

java.lang.Object
java.lang.module.ModuleReference
de.sormuras.bach.Project.ModuleInfo
Enclosing class:
Project

public static class Project.ModuleInfo
extends java.lang.module.ModuleReference
Source-based module reference.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    java.lang.String moduleSourcePath
    Module source path.
    java.nio.file.Path path
    Path to the backing module-info.java file.
  • Method Summary

    Modifier and Type Method Description
    static Project.ModuleInfo of​(java.nio.file.Path info)
    Module compilation unit parser.
    java.lang.module.ModuleReader open()  

    Methods inherited from class java.lang.module.ModuleReference

    descriptor, location

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • path

      public final java.nio.file.Path path
      Path to the backing module-info.java file.
    • moduleSourcePath

      public final java.lang.String moduleSourcePath
      Module source path.
  • Method Details

    • of

      public static Project.ModuleInfo of​(java.nio.file.Path info)
      Module compilation unit parser.
    • open

      public java.lang.module.ModuleReader open()
      Specified by:
      open in class java.lang.module.ModuleReference