Package ghidra.program.util
Class CodeUnitUserDataChangeRecord
- java.lang.Object
-
- ghidra.framework.model.DomainObjectChangeRecord
-
- ghidra.program.util.CodeUnitUserDataChangeRecord
-
- All Implemented Interfaces:
java.io.Serializable
public class CodeUnitUserDataChangeRecord extends DomainObjectChangeRecord
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CodeUnitUserDataChangeRecord(java.lang.String propertyName, Address codeUnitAddr, java.lang.Object oldValue, java.lang.Object newValue)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddressgetAddress()Get the address of the code unit for this property change.java.lang.ObjectgetNewValue()Get the new value.java.lang.ObjectgetOldValue()Get the original value.java.lang.StringgetPropertyName()Get the name of the property being changed.-
Methods inherited from class ghidra.framework.model.DomainObjectChangeRecord
getEventType, getSubEventType, toString
-
-
-
-
Constructor Detail
-
CodeUnitUserDataChangeRecord
public CodeUnitUserDataChangeRecord(java.lang.String propertyName, Address codeUnitAddr, java.lang.Object oldValue, java.lang.Object newValue)Constructor- Parameters:
propertyName- name of the propertycodeUnitAddr- address of the code unitoldValue- old valuenewValue- new value
-
-
Method Detail
-
getPropertyName
public java.lang.String getPropertyName()
Get the name of the property being changed.
-
getAddress
public Address getAddress()
Get the address of the code unit for this property change.
-
getOldValue
public java.lang.Object getOldValue()
Get the original value.- Overrides:
getOldValuein classDomainObjectChangeRecord
-
getNewValue
public java.lang.Object getNewValue()
Get the new value.- Overrides:
getNewValuein classDomainObjectChangeRecord
-
-