Class JavaSourcePathComputer
- java.lang.Object
-
- org.eclipse.jdt.launching.sourcelookup.containers.JavaSourcePathComputer
-
- All Implemented Interfaces:
ISourcePathComputerDelegate
public class JavaSourcePathComputer extends Object implements ISourcePathComputerDelegate
Computes a default source lookup path for Java applications. The source path provider associated with a launch configuration is consulted to compute a source lookup path. The source path provider is determined by theATTR_SOURCE_PATH_PROVIDERlaunch configuration attribute, which defaults to theStandardSourcePathProviderwhen unspecified. The source path provider computes a collection ofIRuntimeClasspathEntry's which are translated to source containers (ISourceContainer).Clients may subclass this class.
- Since:
- 3.0
-
-
Constructor Summary
Constructors Constructor Description JavaSourcePathComputer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ISourceContainer[]computeSourceContainers(ILaunchConfiguration configuration, IProgressMonitor monitor)StringgetId()
-
-
-
Field Detail
-
ID
public static final String ID
Unique identifier for the local Java source path computer (valueorg.eclipse.jdt.launching.sourceLookup.javaSourcePathComputer).- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public String getId()
-
computeSourceContainers
public ISourceContainer[] computeSourceContainers(ILaunchConfiguration configuration, IProgressMonitor monitor) throws CoreException
- Specified by:
computeSourceContainersin interfaceISourcePathComputerDelegate- Throws:
CoreException
-
-