Klasse ModuleUpdater
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.ModuleUpdater
An instance of this class collects
add-exports
and add-reads
options from
a project's class path entries, and performs the corresponding updates when requested by the compiler.
For patch-module
and limit-modules
see
org.eclipse.jdt.internal.core.builder.ModuleEntryProcessor.
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addModuleUpdate
(String moduleName, Consumer<IUpdatableModule> update, IUpdatableModule.UpdateKind kind) void
addReadUnnamedForNonEmptyClasspath
(JavaProject project, IClasspathEntry[] expandedClasspath) void
applyModuleUpdates
(IUpdatableModule compilerModule, IUpdatableModule.UpdateKind kind) void
Detects any ADD_EXPORTS or ADD_READS classpath attributes, parses the value, and collects the resulting module updates.determineModulesOfProjectsWithNonEmptyClasspath
(JavaProject project, IClasspathEntry[] expandedClasspath) getUpdates
(String moduleName)
-
Konstruktordetails
-
ModuleUpdater
-
-
Methodendetails
-
computeModuleUpdates
Detects any ADD_EXPORTS or ADD_READS classpath attributes, parses the value, and collects the resulting module updates.- Parameter:
entry
- a classpath entry of the current project.- Löst aus:
JavaModelException
-
addModuleUpdate
public void addModuleUpdate(String moduleName, Consumer<IUpdatableModule> update, IUpdatableModule.UpdateKind kind) -
applyModuleUpdates
- Siehe auch:
-
addReadUnnamedForNonEmptyClasspath
public void addReadUnnamedForNonEmptyClasspath(JavaProject project, IClasspathEntry[] expandedClasspath) throws JavaModelException - Löst aus:
JavaModelException
-
determineModulesOfProjectsWithNonEmptyClasspath
public static Set<String> determineModulesOfProjectsWithNonEmptyClasspath(JavaProject project, IClasspathEntry[] expandedClasspath) throws JavaModelException - Löst aus:
JavaModelException
-
getUpdates
-