Package org.eclipse.lsp4j
Class ChangeAnnotation
- java.lang.Object
-
- org.eclipse.lsp4j.ChangeAnnotation
-
public class ChangeAnnotation extends java.lang.ObjectAdditional 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 booleanequals(java.lang.Object obj)java.lang.StringgetDescription()A human-readable string which is rendered less prominent in the user interface.java.lang.StringgetLabel()A human-readable string describing the actual change.java.lang.BooleangetNeedsConfirmation()A flag which indicates that user confirmation is needed before applying the change.inthashCode()voidsetDescription(java.lang.String description)A human-readable string which is rendered less prominent in the user interface.voidsetLabel(java.lang.String label)A human-readable string describing the actual change.voidsetNeedsConfirmation(java.lang.Boolean needsConfirmation)A flag which indicates that user confirmation is needed before applying the change.java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-