@Deprecated
class InternalModuleSupport
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
log
Deprecated.
|
private static int |
PATCH_MODULE
Deprecated.
This is a copy of the constant of org.eclipse.jdt.launching.IRuntimeClasspathEntry.PATCH_MODULE.
|
Constructor and Description |
---|
InternalModuleSupport()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
private static java.util.Set<java.lang.String> |
collectModulesNeededTransitively(InternalModuleInfo module,
java.util.Map<java.lang.String,InternalModuleInfo> classpathModules)
Deprecated.
|
static void |
configureClasspath(IMavenProjectFacade facade,
IClasspathDescriptor classpath,
org.eclipse.core.runtime.IProgressMonitor monitor)
Deprecated.
Sets
module true to classpath dependencies declared in module-info.java |
private static java.util.function.Function<InternalModuleInfo,java.util.Set<java.lang.String>> |
createNeededModulesLookup(java.util.Map<java.lang.String,InternalModuleInfo> classpathModules)
Deprecated.
Returns a function that takes a
ModuleInfo , and looks up the names of the modules needed by the given
module -- including modules it requires, and also modules that provide services it uses. |
static org.eclipse.jdt.launching.IRuntimeClasspathEntry |
createRuntimeClasspathEntry(org.eclipse.core.resources.IFolder folder,
int classpathProperty,
org.eclipse.core.resources.IProject project)
Deprecated.
|
static int |
determineClasspathPropertyForMainProject(boolean isModularConfiguration,
org.eclipse.jdt.core.IJavaProject javaProject)
Deprecated.
|
static int |
determineModularClasspathProperty(org.eclipse.jdt.core.IClasspathEntry entry)
Deprecated.
|
private static org.eclipse.jdt.core.IJavaProject |
getJavaProject(org.eclipse.core.runtime.IPath projectPath)
Deprecated.
|
private static InternalModuleInfo |
getModuleInfo(java.io.File file,
int targetCompliance)
Deprecated.
|
private static InternalModuleInfo |
getModuleInfo(IClasspathEntryDescriptor entry,
org.eclipse.core.runtime.IProgressMonitor monitor,
int targetCompliance)
Deprecated.
|
(package private) static InternalModuleInfo |
getModuleInfo(org.eclipse.jdt.core.IJavaProject project,
org.eclipse.core.runtime.IProgressMonitor monitor)
Deprecated.
|
static boolean |
isModularConfiguration(org.eclipse.debug.core.ILaunchConfiguration configuration)
Deprecated.
|
static boolean |
isModuleEntry(org.eclipse.jdt.core.IClasspathEntry entry)
Deprecated.
|
static org.eclipse.jdt.launching.IRuntimeClasspathEntry |
newModularProjectRuntimeClasspathEntry(org.eclipse.jdt.core.IJavaProject javaProject)
Deprecated.
|
private static final org.slf4j.Logger log
private static final int PATCH_MODULE
public static void configureClasspath(IMavenProjectFacade facade, IClasspathDescriptor classpath, org.eclipse.core.runtime.IProgressMonitor monitor)
module
true to classpath dependencies declared in module-info.javafacade
- a Maven facade projectclasspath
- a classpath descriptormonitor
- a progress monitorprivate static java.util.Set<java.lang.String> collectModulesNeededTransitively(InternalModuleInfo module, java.util.Map<java.lang.String,InternalModuleInfo> classpathModules)
private static java.util.function.Function<InternalModuleInfo,java.util.Set<java.lang.String>> createNeededModulesLookup(java.util.Map<java.lang.String,InternalModuleInfo> classpathModules)
ModuleInfo
, and looks up the names of the modules needed by the given
module -- including modules it requires, and also modules that provide services it uses.private static InternalModuleInfo getModuleInfo(IClasspathEntryDescriptor entry, org.eclipse.core.runtime.IProgressMonitor monitor, int targetCompliance)
static InternalModuleInfo getModuleInfo(org.eclipse.jdt.core.IJavaProject project, org.eclipse.core.runtime.IProgressMonitor monitor)
private static InternalModuleInfo getModuleInfo(java.io.File file, int targetCompliance)
private static org.eclipse.jdt.core.IJavaProject getJavaProject(org.eclipse.core.runtime.IPath projectPath)
public static boolean isModuleEntry(org.eclipse.jdt.core.IClasspathEntry entry)
public static int determineModularClasspathProperty(org.eclipse.jdt.core.IClasspathEntry entry)
public static org.eclipse.jdt.launching.IRuntimeClasspathEntry createRuntimeClasspathEntry(org.eclipse.core.resources.IFolder folder, int classpathProperty, org.eclipse.core.resources.IProject project)
public static int determineClasspathPropertyForMainProject(boolean isModularConfiguration, org.eclipse.jdt.core.IJavaProject javaProject)
public static boolean isModularConfiguration(org.eclipse.debug.core.ILaunchConfiguration configuration)
public static org.eclipse.jdt.launching.IRuntimeClasspathEntry newModularProjectRuntimeClasspathEntry(org.eclipse.jdt.core.IJavaProject javaProject)