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 extends IAdaptable
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 |
---|---|
Object |
findSourceElement(String name)
Deprecated.
Returns an object representing the source code
for a type with the specified name, or
null
if none could be found. |
String |
getMemento()
Deprecated.
Returns a memento for this source location from which this
source location can be reconstructed.
|
void |
initializeFrom(String memento)
Deprecated.
Initializes this source location from the given memento.
|
getAdapter
Object findSourceElement(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 elementString getMemento() throws CoreException
CoreException
- if unable to create a mementovoid initializeFrom(String memento) throws CoreException
memento
- a memento generated by this source locationCoreException
- if unable to initialize this source
location
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.