java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.batch.ModuleFinder

public class ModuleFinder extends Object
  • Konstruktordetails

    • ModuleFinder

      public ModuleFinder()
  • Methodendetails

    • findModules

      public static List<FileSystem.Classpath> findModules(File f, String destinationPath, Parser parser, Map<String,String> options, boolean isModulepath, String release)
    • findModule

      protected static FileSystem.Classpath findModule(File file, String destinationPath, Parser parser, Map<String,String> options, boolean isModulepath, String release)
    • scanForModules

      protected static void scanForModules(String destinationPath, Parser parser, Map<String,String> options, boolean isModulepath, boolean thisAnAutomodule, List<FileSystem.Classpath> collector, File file, String release)
    • scanForModule

      protected static IModule scanForModule(FileSystem.Classpath modulePath, File file, Parser parser, boolean considerAutoModules, String release)
    • extractAddonRead

      protected static String[] extractAddonRead(String option)
      Extracts the single reads clause from the given command line option (--add-reads). The result is a String[] with two element, first being the source module and second being the target module. The expected format is: --add-reads Ungültige Eingabe: "<"source-module>=Ungültige Eingabe: "<"target-module>
      Parameter:
      option -
      Gibt zurück:
      a String[] with source and target module of the "reads" clause.
    • extractAddonExport

      protected static org.aspectj.org.eclipse.jdt.internal.compiler.batch.ModuleFinder.AddExport extractAddonExport(String option)
      Parses the --add-exports command line option and returns the package export definitions.

      The expected format is:

      --add-exports <source-module>/<package>=<target-module>(,<target-module>)*

      Parameter:
      option - the option to parse
      Gibt zurück:
      an ModuleFinder.AddExport structure.