Package org.eclipse.lsp4j.debug
Class SourceArguments
- java.lang.Object
-
- org.eclipse.lsp4j.debug.SourceArguments
-
public class SourceArguments extends java.lang.Object
Arguments for 'source' request.
-
-
Constructor Summary
Constructors Constructor Description SourceArguments()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Source
getSource()
Specifies the source content to load.int
getSourceReference()
The reference to the source.int
hashCode()
void
setSource(Source source)
Specifies the source content to load.void
setSourceReference(int sourceReference)
The reference to the source.java.lang.String
toString()
-
-
-
Method Detail
-
getSource
public Source getSource()
Specifies the source content to load. Either source.path or source.sourceReference must be specified.This is an optional property.
-
setSource
public void setSource(Source source)
Specifies the source content to load. Either source.path or source.sourceReference must be specified.This is an optional property.
-
getSourceReference
public int getSourceReference()
The reference to the source. This is the same as source.sourceReference.This is provided for backward compatibility since old clients do not understand the 'source' attribute.
-
setSourceReference
public void setSourceReference(int sourceReference)
The reference to the source. This is the same as source.sourceReference.This is provided for backward compatibility since old clients do not understand the 'source' attribute.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-