Package org.eclipse.lsp4j
Class ChangeAnnotation
- java.lang.Object
-
- org.eclipse.lsp4j.ChangeAnnotation
-
public class ChangeAnnotation extends java.lang.Object
Additional information that describes document changes.Since 3.16.0
-
-
Constructor Summary
Constructors Constructor Description ChangeAnnotation()
ChangeAnnotation(java.lang.String label)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getDescription()
A human-readable string which is rendered less prominent in the user interface.java.lang.String
getLabel()
A human-readable string describing the actual change.java.lang.Boolean
getNeedsConfirmation()
A flag which indicates that user confirmation is needed before applying the change.int
hashCode()
void
setDescription(java.lang.String description)
A human-readable string which is rendered less prominent in the user interface.void
setLabel(java.lang.String label)
A human-readable string describing the actual change.void
setNeedsConfirmation(java.lang.Boolean needsConfirmation)
A flag which indicates that user confirmation is needed before applying the change.java.lang.String
toString()
-
-
-
Method Detail
-
getLabel
public java.lang.String getLabel()
A human-readable string describing the actual change. The string is rendered prominent in the user interface.
-
setLabel
public void setLabel(java.lang.String label)
A human-readable string describing the actual change. The string is rendered prominent in the user interface.
-
getNeedsConfirmation
public java.lang.Boolean getNeedsConfirmation()
A flag which indicates that user confirmation is needed before applying the change.
-
setNeedsConfirmation
public void setNeedsConfirmation(java.lang.Boolean needsConfirmation)
A flag which indicates that user confirmation is needed before applying the change.
-
getDescription
public java.lang.String getDescription()
A human-readable string which is rendered less prominent in the user interface.
-
setDescription
public void setDescription(java.lang.String description)
A human-readable string which is rendered less prominent in the user interface.
-
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
-
-