Class JPMSModuleInfoPlugin

java.lang.Object
aQute.bnd.plugin.jpms.JPMSModuleInfoPlugin
All Implemented Interfaces:
ManifestPlugin, OrderedPlugin

public class JPMSModuleInfoPlugin extends Object implements ManifestPlugin
A plugin to generate a module-info class from analyzer metadata and bundle annotations.
  • Constructor Details

    • JPMSModuleInfoPlugin

      public JPMSModuleInfoPlugin()
  • Method Details

    • mainSet

      public void mainSet(Analyzer analyzer, Manifest manifest) throws Exception
      Description copied from interface: ManifestPlugin
      Called just after the manifest has been calculated and just before name section is calculated. The analyzer will not make any more changes to the main section of the manifest. This is also after any non-wanted headers are removed.
      Specified by:
      mainSet in interface ManifestPlugin
      Parameters:
      analyzer - the current analyzer, it is calling from Analyzer.calcManifest()
      manifest - the current intermediate manifest, lacking a name section
      Throws:
      Exception