org.eclipse.debug.core.sourcelookup
and org.eclipse.debug.core.sourcelookup.containers. This interface
has been replaced by
org.eclipse.debug.core.sourcelookup.ISourceContainer.@Deprecated
public interface IJavaSourceLocation
For example, a source location could be a project, zip/archive file, or a directory in the file system.
This interface is may be implemented by clients.
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
findSourceElement(java.lang.String name)
Deprecated.
Returns an object representing the source code
for a type with the specified name, or
null
if none could be found. |
java.lang.String |
getMemento()
Deprecated.
Returns a memento for this source location from which this
source location can be reconstructed.
|
void |
initializeFrom(java.lang.String memento)
Deprecated.
Initializes this source location from the given memento.
|
java.lang.Object findSourceElement(java.lang.String name)
throws CoreException
null
if none could be found. The name is
a fully qualified type name, and may contain the '$'
character when referring to inner types. For example,
java.lang.String. The source element
returned is implementation specific - for example, a
resource, a local file, a zip file entry, etc.name - fully qualified name of the type for which
source is being searched forCoreException - if an exception occurs while searching
for the specified source elementjava.lang.String getMemento()
throws CoreException
CoreException - if unable to create a mementovoid initializeFrom(java.lang.String memento)
throws CoreException
memento - a memento generated by this source locationCoreException - if unable to initialize this source
location