public class LocationLink
extends java.lang.Object
Constructor and Description |
---|
LocationLink() |
LocationLink(java.lang.String targetUri,
Range targetRange,
Range targetSelectionRange) |
LocationLink(java.lang.String targetUri,
Range targetRange,
Range targetSelectionRange,
Range originSelectionRange) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Range |
getOriginSelectionRange()
Span of the origin of this link.
|
Range |
getTargetRange()
The full target range of this link.
|
Range |
getTargetSelectionRange()
The range that should be selected and revealed when this link is being followed, e.g the name of a function.
|
java.lang.String |
getTargetUri()
The target resource identifier of this link.
|
int |
hashCode() |
void |
setOriginSelectionRange(Range originSelectionRange)
Span of the origin of this link.
|
void |
setTargetRange(Range targetRange)
The full target range of this link.
|
void |
setTargetSelectionRange(Range targetSelectionRange)
The range that should be selected and revealed when this link is being followed, e.g the name of a function.
|
void |
setTargetUri(java.lang.String targetUri)
The target resource identifier of this link.
|
java.lang.String |
toString() |
public LocationLink()
public LocationLink(java.lang.String targetUri, Range targetRange, Range targetSelectionRange)
@Pure public Range getOriginSelectionRange()
public void setOriginSelectionRange(Range originSelectionRange)
@Pure public java.lang.String getTargetUri()
public void setTargetUri(java.lang.String targetUri)
@Pure public Range getTargetRange()
public void setTargetRange(Range targetRange)
@Pure public Range getTargetSelectionRange()
public void setTargetSelectionRange(Range targetSelectionRange)
@Pure public java.lang.String toString()
toString
in class java.lang.Object
@Pure public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
@Pure public int hashCode()
hashCode
in class java.lang.Object