Class SetExpressionResponse
- java.lang.Object
-
- org.eclipse.lsp4j.debug.SetExpressionResponse
-
public class SetExpressionResponse extends java.lang.Object
Response to 'setExpression' request.
-
-
Constructor Summary
Constructors Constructor Description SetExpressionResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.Integer
getIndexedVariables()
The number of indexed child variables.java.lang.String
getMemoryReference()
A memory reference to a location appropriate for this result.java.lang.Integer
getNamedVariables()
The number of named child variables.VariablePresentationHint
getPresentationHint()
Properties of a value that can be used to determine how to render the result in the UI.java.lang.String
getType()
The type of the value.java.lang.String
getValue()
The new value of the expression.java.lang.Integer
getVariablesReference()
If `variablesReference` is > 0, the evaluate result is structured and its children can be retrieved by passing `variablesReference` to the `variables` request as long as execution remains suspended.int
hashCode()
void
setIndexedVariables(java.lang.Integer indexedVariables)
The number of indexed child variables.void
setMemoryReference(java.lang.String memoryReference)
A memory reference to a location appropriate for this result.void
setNamedVariables(java.lang.Integer namedVariables)
The number of named child variables.void
setPresentationHint(VariablePresentationHint presentationHint)
Properties of a value that can be used to determine how to render the result in the UI.void
setType(java.lang.String type)
The type of the value.void
setValue(java.lang.String value)
The new value of the expression.void
setVariablesReference(java.lang.Integer variablesReference)
If `variablesReference` is > 0, the evaluate result is structured and its children can be retrieved by passing `variablesReference` to the `variables` request as long as execution remains suspended.java.lang.String
toString()
-
-
-
Method Detail
-
getValue
public java.lang.String getValue()
The new value of the expression.
-
setValue
public void setValue(java.lang.String value)
The new value of the expression.
-
getType
public java.lang.String getType()
The type of the value.This attribute should only be returned by a debug adapter if the corresponding capability
InitializeRequestArguments.getSupportsVariableType()
is true.This is an optional property.
-
setType
public void setType(java.lang.String type)
The type of the value.This attribute should only be returned by a debug adapter if the corresponding capability
InitializeRequestArguments.getSupportsVariableType()
is true.This is an optional property.
-
getPresentationHint
public VariablePresentationHint getPresentationHint()
Properties of a value that can be used to determine how to render the result in the UI.This is an optional property.
-
setPresentationHint
public void setPresentationHint(VariablePresentationHint presentationHint)
Properties of a value that can be used to determine how to render the result in the UI.This is an optional property.
-
getVariablesReference
public java.lang.Integer getVariablesReference()
If `variablesReference` is > 0, the evaluate result is structured and its children can be retrieved by passing `variablesReference` to the `variables` request as long as execution remains suspended. See 'Lifetime of Object References' in theDebugProtocol.Overview
section for details.This is an optional property.
-
setVariablesReference
public void setVariablesReference(java.lang.Integer variablesReference)
If `variablesReference` is > 0, the evaluate result is structured and its children can be retrieved by passing `variablesReference` to the `variables` request as long as execution remains suspended. See 'Lifetime of Object References' in theDebugProtocol.Overview
section for details.This is an optional property.
-
getNamedVariables
public java.lang.Integer getNamedVariables()
The number of named child variables.The client can use this information to present the variables in a paged UI and fetch them in chunks.
The value should be less than or equal to 2147483647 (2^31-1).
This is an optional property.
-
setNamedVariables
public void setNamedVariables(java.lang.Integer namedVariables)
The number of named child variables.The client can use this information to present the variables in a paged UI and fetch them in chunks.
The value should be less than or equal to 2147483647 (2^31-1).
This is an optional property.
-
getIndexedVariables
public java.lang.Integer getIndexedVariables()
The number of indexed child variables.The client can use this information to present the variables in a paged UI and fetch them in chunks.
The value should be less than or equal to 2147483647 (2^31-1).
This is an optional property.
-
setIndexedVariables
public void setIndexedVariables(java.lang.Integer indexedVariables)
The number of indexed child variables.The client can use this information to present the variables in a paged UI and fetch them in chunks.
The value should be less than or equal to 2147483647 (2^31-1).
This is an optional property.
-
getMemoryReference
public java.lang.String getMemoryReference()
A memory reference to a location appropriate for this result.For pointer type eval results, this is generally a reference to the memory address contained in the pointer.
This attribute may be returned by a debug adapter if corresponding capability
InitializeRequestArguments.getSupportsMemoryReferences()
is true.This is an optional property.
Since 1.63
-
setMemoryReference
public void setMemoryReference(java.lang.String memoryReference)
A memory reference to a location appropriate for this result.For pointer type eval results, this is generally a reference to the memory address contained in the pointer.
This attribute may be returned by a debug adapter if corresponding capability
InitializeRequestArguments.getSupportsMemoryReferences()
is true.This is an optional property.
Since 1.63
-
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
-
-