Class FieldNameFieldLocation

  • All Implemented Interfaces:

    public class FieldNameFieldLocation
    extends CodeUnitLocation
    The FieldNameFieldLocation class provides specific information about the Function Name field within a program location.
    • Constructor Detail

      • FieldNameFieldLocation

        public FieldNameFieldLocation​(Program program,
                                      Address addr,
                                      int[] componentPath,
                                      java.lang.String fieldName,
                                      int charOffset)
        Construct a new FieldNameFieldLocation.
        the - program of the location
        addr - the address of the codeunit.
        componentPath - if not null, it is the array of indexes that point to a specific data type inside of another data type
        fieldName - the field name
        charOffset - the character position within the field name for this location.
      • FieldNameFieldLocation

        public FieldNameFieldLocation()
        Default constructor needed for restoring a field name location from XML
    • Method Detail

      • getFieldName

        public java.lang.String getFieldName()
        Returns the field name of this location.
      • saveState

        public void saveState​(SaveState obj)
        Description copied from class: ProgramLocation
        Save this program location to the given save state object.
        saveState in class ProgramLocation
        obj - the save state object for saving the location