Class FunctionTagFieldLocation

  • All Implemented Interfaces:
    java.lang.Comparable<ProgramLocation>

    public class FunctionTagFieldLocation
    extends FunctionLocation
    Provides information about the location of an object that represents the tag names assigned to a function.
    • Constructor Detail

      • FunctionTagFieldLocation

        public FunctionTagFieldLocation​(Program program,
                                        Address locationAddr,
                                        Address functionAddr,
                                        java.lang.String tags,
                                        int charOffset)
        Construct a new FunctionTagFieldLocation object.
        Parameters:
        program - the program of the location
        locationAddr - the address of the listing location (i.e., referent code unit)
        functionAddr - the function address
        tags - the function tag field text.
        charOffset - the character position within the field
      • FunctionTagFieldLocation

        public FunctionTagFieldLocation()
        Default constructor needed for restoring a program location from XML
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class FunctionLocation
        See Also:
        Object.equals(java.lang.Object)
      • saveState

        public void saveState​(SaveState obj)
        Description copied from class: FunctionLocation
        Save this function location to the given save state object.
        Overrides:
        saveState in class FunctionLocation
        Parameters:
        obj - the save state object for saving the location
      • restoreState

        public void restoreState​(Program p,
                                 SaveState obj)
        Description copied from class: FunctionLocation
        Restore this function location using the given program and save state object.
        Overrides:
        restoreState in class FunctionLocation
        Parameters:
        p - the program containing the function location
        obj - the save state object for saving the location