Package ghidra.program.util
Class CodeUnitPropertyChangeRecord
- java.lang.Object
- 
- ghidra.framework.model.DomainObjectChangeRecord
- 
- ghidra.program.util.CodeUnitPropertyChangeRecord
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class CodeUnitPropertyChangeRecord extends DomainObjectChangeRecord Change record generated when a property on a code unit changes.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description CodeUnitPropertyChangeRecord(java.lang.String propertyName, Address start, Address end)Constructor for change record for removing a range of properties.CodeUnitPropertyChangeRecord(java.lang.String propertyName, Address codeUnitAddr, java.lang.Object oldValue, java.lang.Object newValue)Constructor
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AddressgetAddress()Get the address of the code unit for this property change.AddressgetEndAddress()Get the end address of the range of properties that were removed.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.AddressgetStartAddress()Get the start address of the range of properties that were removed.- 
Methods inherited from class ghidra.framework.model.DomainObjectChangeRecordgetEventType, getSubEventType, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
CodeUnitPropertyChangeRecordpublic CodeUnitPropertyChangeRecord(java.lang.String propertyName, Address codeUnitAddr, java.lang.Object oldValue, java.lang.Object newValue)Constructor- Parameters:
- propertyName- name of the property
- codeUnitAddr- address of the code unit
- oldValue- old value
- newValue- new value
 
 - 
CodeUnitPropertyChangeRecordpublic CodeUnitPropertyChangeRecord(java.lang.String propertyName, Address start, Address end)Constructor for change record for removing a range of properties.- Parameters:
- propertyName- name of the property
- start- start of the range of properties being removed
- end- end of the range of properties being removed
 
 
- 
 - 
Method Detail- 
getPropertyNamepublic java.lang.String getPropertyName() Get the name of the property being changed.
 - 
getAddresspublic Address getAddress() Get the address of the code unit for this property change.
 - 
getOldValuepublic java.lang.Object getOldValue() Get the original value.- Overrides:
- getOldValuein class- DomainObjectChangeRecord
 
 - 
getNewValuepublic java.lang.Object getNewValue() Get the new value.- Overrides:
- getNewValuein class- DomainObjectChangeRecord
 
 - 
getStartAddresspublic Address getStartAddress() Get the start address of the range of properties that were removed.- Returns:
- null if the event type is not ChangeManager.DOCR_CODE_UNIT_PROPERTY_RANGE_REMOVED
 
 - 
getEndAddresspublic Address getEndAddress() Get the end address of the range of properties that were removed.- Returns:
- null if the event type is not ChangeManager.DOCR_CODE_UNIT_PROPERTY_RANGE_REMOVED
 
 
- 
 
-