org.eclipse.debug.core.sourcelookup
and org.eclipse.debug.core.sourcelookup.containers. This class
has been replaced by
org.eclipse.jdt.launching.sourcelookup.containers.PackageFragmentRootSourceContainer.@Deprecated public class PackageFragmentRootSourceLocation extends PlatformObject implements IJavaSourceLocation
ICompilationUnit and
IClassFile.
This class may be instantiated.
IJavaSourceLocation| Constructor and Description |
|---|
PackageFragmentRootSourceLocation()
Deprecated.
Creates an empty source location.
|
PackageFragmentRootSourceLocation(IPackageFragmentRoot root)
Deprecated.
Creates a source location on the given package fragment root.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object)
Deprecated.
|
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.
|
IPackageFragmentRoot |
getPackageFragmentRoot()
Deprecated.
Returns the package fragment root associated with this
source location, or
null if none |
int |
hashCode()
Deprecated.
|
void |
initializeFrom(java.lang.String memento)
Deprecated.
Initializes this source location from the given memento.
|
public PackageFragmentRootSourceLocation()
public PackageFragmentRootSourceLocation(IPackageFragmentRoot root)
root - package fragment rootpublic java.lang.Object findSourceElement(java.lang.String name)
throws CoreException
IJavaSourceLocationnull
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.findSourceElement in interface IJavaSourceLocationname - fully qualified name of the type for which
source is being searched forCoreException - if an exception occurs while searching
for the specified source elementpublic java.lang.String getMemento()
throws CoreException
IJavaSourceLocationgetMemento in interface IJavaSourceLocationCoreException - if unable to create a mementopublic void initializeFrom(java.lang.String memento)
throws CoreException
IJavaSourceLocationinitializeFrom in interface IJavaSourceLocationmemento - a memento generated by this source locationCoreException - if unable to initialize this source
locationpublic IPackageFragmentRoot getPackageFragmentRoot()
null if nonenull if nonepublic boolean equals(java.lang.Object object)
public int hashCode()