Package ghidra.program.util
Class ProgramChangeRecord
java.lang.Object
ghidra.framework.model.DomainObjectChangeRecord
ghidra.program.util.ProgramChangeRecord
- All Implemented Interfaces:
Serializable
Event data for a DomainObjectChangeEvent generated by a Program.
See Program Events for more information on event data.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProgramChangeRecord(int type, int subType, Address start, Address end, Object affectedObj, Object oldValue, Object newValue) Construct a new ProgramChangeRecord; any of the Address or Object params may be null, depending on what the type param is.ProgramChangeRecord(int type, Address start, Address end, Object affectedObj, Object oldValue, Object newValue) Construct a new ProgramChangeRecord; any of the Address or Object params may be null, depending on what the type param is. -
Method Summary
Methods inherited from class ghidra.framework.model.DomainObjectChangeRecord
getEventType, getNewValue, getOldValue, getSubEventType, toString
-
Constructor Details
-
ProgramChangeRecord
public ProgramChangeRecord(int type, Address start, Address end, Object affectedObj, Object oldValue, Object newValue) Construct a new ProgramChangeRecord; any of the Address or Object params may be null, depending on what the type param is.- Parameters:
type- event typestart- starting address that is affected by the eventend- ending address that is affected by the eventoldValue- original valuenewValue- new value
-
ProgramChangeRecord
public ProgramChangeRecord(int type, int subType, Address start, Address end, Object affectedObj, Object oldValue, Object newValue) Construct a new ProgramChangeRecord; any of the Address or Object params may be null, depending on what the type param is.- Parameters:
type- event typesubType- event sub-typestart- starting address that is affected by the eventend- ending address that is affected by the eventoldValue- original valuenewValue- new value
-
-
Method Details
-
getStart
Get the start address. -
getEnd
Get the end address. -
getObject
Return the object that is the subject of this change record.- Returns:
- Object null if this change record does not have the affected object
-