Class AutomaticCommentFieldLocation

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

    public class AutomaticCommentFieldLocation
    extends CommentFieldLocation
    The AutomaticCommentFieldLocation class contains specific location information within the automatic comment of an EOL comment field of a CodeUnitLocation object.
    • Constructor Detail

      • AutomaticCommentFieldLocation

        public AutomaticCommentFieldLocation​(Program program,
                                             Address addr,
                                             int[] componentPath,
                                             java.lang.String[] comment,
                                             int row,
                                             int charOffset,
                                             int currentCommentRow)
        Construct a new AutomaticCommentFieldLocation.
        Parameters:
        the - program of the location
        addr - the address of the codeunit.
        componentPath - the componentPath of the codeUnit
        comment - comment text for the particular comment indicated by the address, subtype, and reference address.
        row - the line within the Eol comment.
        charOffset - the character position on the line within the comment line.
        currentCommentRow - the row index relative to the beginning of the automatic comment as displayed in the Eol comment field.
      • AutomaticCommentFieldLocation

        public AutomaticCommentFieldLocation()
        Default constructor needed for restoring an end-of-line field location from XML.