Package ghidra.program.util
Class CodeUnitPropertyChangeRecord
java.lang.Object
ghidra.framework.model.DomainObjectChangeRecord
ghidra.program.util.ProgramChangeRecord
ghidra.program.util.CodeUnitPropertyChangeRecord
- All Implemented Interfaces:
Serializable
Change record generated when a property on a code unit changes.
- See Also:
-
Constructor Summary
ConstructorDescriptionCodeUnitPropertyChangeRecord
(ProgramEvent type, String propertyName, Address start, Address end) Constructor for events that affect a range of valuesCodeUnitPropertyChangeRecord
(ProgramEvent type, String propertyName, Address address, Object oldValue, Object newValue) Constructor for a property change at an address -
Method Summary
Methods inherited from class ghidra.program.util.ProgramChangeRecord
getEnd, getObject, getStart
Methods inherited from class ghidra.framework.model.DomainObjectChangeRecord
getEventType, getNewValue, getOldValue
-
Constructor Details
-
CodeUnitPropertyChangeRecord
public CodeUnitPropertyChangeRecord(ProgramEvent type, String propertyName, Address address, Object oldValue, Object newValue) Constructor for a property change at an address- Parameters:
type
- the program event typepropertyName
- the name of the code unit propertyaddress
- the address of the of the property that was changed.oldValue
- the old property valuenewValue
- the new property value
-
CodeUnitPropertyChangeRecord
public CodeUnitPropertyChangeRecord(ProgramEvent type, String propertyName, Address start, Address end) Constructor for events that affect a range of values- Parameters:
type
- the program event typepropertyName
- the name of the code unit propertystart
- the start address of the range affectedend
- the end address of the range affected
-
-
Method Details
-
getPropertyName
Get the name of the property being changed.- Returns:
- the name of the property being changed
-
toString
- Overrides:
toString
in classProgramChangeRecord
-