Package ghidra.program.model.symbol
Class LabelHistory
- java.lang.Object
-
- ghidra.program.model.symbol.LabelHistory
-
public class LabelHistory extends java.lang.Object
Container for history information about what happened to a label.
-
-
Constructor Summary
Constructors Constructor Description LabelHistory(Address addr, java.lang.String userName, byte actionID, java.lang.String labelStr, java.util.Date modificationDate)
Construct a new LabelHistory object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
getActionID()
Get the action ID for this label history object.Address
getAddress()
Get address for this label history object.java.lang.String
getLabelString()
Get the label string for this label history object.java.util.Date
getModificationDate()
Get the modification datejava.lang.String
getUserName()
Get the user that made the change.
-
-
-
Field Detail
-
ADD
public static final byte ADD
Label added.- See Also:
- Constant Field Values
-
REMOVE
public static final byte REMOVE
Label removed.- See Also:
- Constant Field Values
-
RENAME
public static final byte RENAME
Label renamed.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LabelHistory
public LabelHistory(Address addr, java.lang.String userName, byte actionID, java.lang.String labelStr, java.util.Date modificationDate)
Construct a new LabelHistory object.- Parameters:
addr
- address of the label changeuserName
- name of user who made the changeactionID
- either ADD, REMOVE, or RENAMElabelStr
- label stringmodificationDate
- date of the change
-
-
Method Detail
-
getAddress
public Address getAddress()
Get address for this label history object.
-
getUserName
public java.lang.String getUserName()
Get the user that made the change.
-
getLabelString
public java.lang.String getLabelString()
Get the label string for this label history object.
-
getActionID
public byte getActionID()
Get the action ID for this label history object.- Returns:
- ADD, REMOVE, or RENAME
-
getModificationDate
public java.util.Date getModificationDate()
Get the modification date
-
-