java.lang.Object
edu.hm.hafner.analysis.parser.dry.dupfinder.Fragment

public class Fragment extends Object
Java Bean class for a Reshaper DupFinder fragment.
Autor:
Rafal Jasica
  • Konstruktordetails

    • Fragment

      public Fragment()
  • Methodendetails

    • getFileName

      @CheckForNull public String getFileName()
      Returns the file name.
      Gibt zurück:
      the path of this file
    • setFileName

      public void setFileName(@CheckForNull String fileName)
      Sets the file name to the specified value.
      Parameter:
      fileName - the value to set
    • getText

      @CheckForNull public String getText()
      Returns the text.
      Gibt zurück:
      the text
    • setText

      public void setText(@CheckForNull String text)
      Sets the text to the specified value.
      Parameter:
      text - the value to set
    • getLineRange

      public Range getLineRange()
      Returns the line range.
      Gibt zurück:
      the line range
    • setLineRange

      public void setLineRange(@CheckForNull Range lineRange)
      Sets the line range to the specified value.
      Parameter:
      lineRange - the value to set
    • getOffsetRange

      @CheckForNull public Range getOffsetRange()
      Returns the offset range.
      Gibt zurück:
      the offset range
    • setOffsetRange

      public void setOffsetRange(@CheckForNull Range offsetRange)
      Sets the offset range to the specified value.
      Parameter:
      offsetRange - the value to set