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