Package ghidra.program.util
Class FunctionChangeRecord
java.lang.Object
ghidra.framework.model.DomainObjectChangeRecord
ghidra.program.util.ProgramChangeRecord
ghidra.program.util.FunctionChangeRecord
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Specific function changes types for when the ProgramEvent is FUNCTION_CHANGED -
Constructor Summary
ConstructorDescriptionFunctionChangeRecord
(Function function, FunctionChangeRecord.FunctionChangeType changeType) Constructs a new Function change record. -
Method Summary
Modifier and TypeMethodDescriptionReturns the function that was changed.Returns the specific type of function change.boolean
Returns true if the specific change was to one of the function's modifier properties.boolean
Returns true if the specific change was related to the function signature.Methods inherited from class ghidra.program.util.ProgramChangeRecord
getEnd, getObject, getStart, toString
Methods inherited from class ghidra.framework.model.DomainObjectChangeRecord
getEventType, getNewValue, getOldValue
-
Constructor Details
-
FunctionChangeRecord
Constructs a new Function change record.- Parameters:
function
- the function that was changedchangeType
- the specific type of change that was applied to the function
-
-
Method Details
-
getSpecificChangeType
Returns the specific type of function change.- Returns:
- the specific type of function change
-
getFunction
Returns the function that was changed.- Returns:
- the function that was changed
-
isFunctionSignatureChange
public boolean isFunctionSignatureChange()Returns true if the specific change was related to the function signature.- Returns:
- true if the specific change was related to the function signature
-
isFunctionModifierChange
public boolean isFunctionModifierChange()Returns true if the specific change was to one of the function's modifier properties.- Returns:
- true if the specific change was to one of the function's modifier properties
-