public abstract class NodeChange extends Object implements Serializable
For internal use only. May be renamed or removed in a future release.
| Constructor and Description |
|---|
NodeChange(StateNode node)
Creates a new change for the given node.
|
| Modifier and Type | Method and Description |
|---|---|
StateNode |
getNode()
Gets the changed node.
|
protected abstract void |
populateJson(elemental.json.JsonObject json,
ConstantPool constantPool)
Overridden by subclasses to populate a JSON object when serializing.
|
elemental.json.JsonObject |
toJson(ConstantPool constantPool)
Serializes this change to JSON.
|
public NodeChange(StateNode node)
node - the changed nodepublic StateNode getNode()
public elemental.json.JsonObject toJson(ConstantPool constantPool)
constantPool - the constant pool to use for serializing constant pool
referencesprotected abstract void populateJson(elemental.json.JsonObject json,
ConstantPool constantPool)
json - the json object to populateconstantPool - the constant pool to use for serializing constant pool
referencesCopyright © 2025. All rights reserved.