public class Source
extends java.lang.Object
| Constructor and Description |
|---|
Source() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Object |
getAdapterData()
Optional data that a debug adapter might want to loop through the client.
|
Checksum[] |
getChecksums()
The checksums associated with this file.
|
java.lang.String |
getName()
The short name of the source.
|
java.lang.String |
getOrigin()
The (optional) origin of this source: possible values 'internal module', 'inlined content from source map',
etc.
|
java.lang.String |
getPath()
The path of the source to be shown in the UI.
|
SourcePresentationHint |
getPresentationHint()
An optional hint for how to present the source in the UI.
|
java.lang.Integer |
getSourceReference()
If sourceReference > 0 the contents of the source must be retrieved through the SourceRequest (even if a path
is specified).
|
Source[] |
getSources()
An optional list of sources that are related to this source.
|
int |
hashCode() |
void |
setAdapterData(java.lang.Object adapterData)
Optional data that a debug adapter might want to loop through the client.
|
void |
setChecksums(Checksum[] checksums)
The checksums associated with this file.
|
void |
setName(java.lang.String name)
The short name of the source.
|
void |
setOrigin(java.lang.String origin)
The (optional) origin of this source: possible values 'internal module', 'inlined content from source map',
etc.
|
void |
setPath(java.lang.String path)
The path of the source to be shown in the UI.
|
void |
setPresentationHint(SourcePresentationHint presentationHint)
An optional hint for how to present the source in the UI.
|
void |
setSourceReference(java.lang.Integer sourceReference)
If sourceReference > 0 the contents of the source must be retrieved through the SourceRequest (even if a path
is specified).
|
void |
setSources(Source[] sources)
An optional list of sources that are related to this source.
|
java.lang.String |
toString() |
@Pure public java.lang.String getName()
This is an optional property.
public void setName(java.lang.String name)
This is an optional property.
@Pure public java.lang.String getPath()
This is an optional property.
public void setPath(java.lang.String path)
This is an optional property.
@Pure public java.lang.Integer getSourceReference()
This is an optional property.
public void setSourceReference(java.lang.Integer sourceReference)
This is an optional property.
@Pure public SourcePresentationHint getPresentationHint()
This is an optional property.
public void setPresentationHint(SourcePresentationHint presentationHint)
This is an optional property.
@Pure public java.lang.String getOrigin()
This is an optional property.
public void setOrigin(java.lang.String origin)
This is an optional property.
@Pure public Source[] getSources()
This is an optional property.
public void setSources(Source[] sources)
This is an optional property.
@Pure public java.lang.Object getAdapterData()
This is an optional property.
public void setAdapterData(java.lang.Object adapterData)
This is an optional property.
@Pure public Checksum[] getChecksums()
This is an optional property.
public void setChecksums(Checksum[] checksums)
This is an optional property.
@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