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
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddModuleUpdate(String moduleName, Consumer<IUpdatableModule> update, IUpdatableModule.UpdateKind kind) voidaddReadUnnamedForNonEmptyClasspath(JavaProject project, IClasspathEntry[] expandedClasspath) voidapplyModuleUpdates(IUpdatableModule compilerModule, IUpdatableModule.UpdateKind kind) voidDetects 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
-