Class FunctionChangeRecord

All Implemented Interfaces:
Serializable

public class FunctionChangeRecord extends ProgramChangeRecord
See Also:
  • Constructor Details

    • FunctionChangeRecord

      public FunctionChangeRecord(Function function, FunctionChangeRecord.FunctionChangeType changeType)
      Constructs a new Function change record.
      Parameters:
      function - the function that was changed
      changeType - the specific type of change that was applied to the function
  • Method Details

    • getSpecificChangeType

      public FunctionChangeRecord.FunctionChangeType getSpecificChangeType()
      Returns the specific type of function change.
      Returns:
      the specific type of function change
    • getFunction

      public Function 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