Klasse ModuleFinder
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.batch.ModuleFinder
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected static org.aspectj.org.eclipse.jdt.internal.compiler.batch.ModuleFinder.AddExportextractAddonExport(String option) Parses the --add-exports command line option and returns the package export definitions.protected static String[]extractAddonRead(String option) Extracts the single reads clause from the given command line option (--add-reads).protected static FileSystem.ClasspathfindModule(File file, String destinationPath, Parser parser, Map<String, String> options, boolean isModulepath, String release) static List<FileSystem.Classpath>findModules(File f, String destinationPath, Parser parser, Map<String, String> options, boolean isModulepath, String release) protected static IModulescanForModule(FileSystem.Classpath modulePath, File file, Parser parser, boolean considerAutoModules, String release) protected static voidscanForModules(String destinationPath, Parser parser, Map<String, String> options, boolean isModulepath, boolean thisAnAutomodule, List<FileSystem.Classpath> collector, File file, String release)
-
Konstruktordetails
-
ModuleFinder
public ModuleFinder()
-
-
Methodendetails
-
findModules
-
findModule
-
scanForModules
-
scanForModule
protected static IModule scanForModule(FileSystem.Classpath modulePath, File file, Parser parser, boolean considerAutoModules, String release) -
extractAddonRead
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.AddExportstructure.
-