Package net.sourceforge.pmd.document
Class RegionByLineImp
- java.lang.Object
-
- net.sourceforge.pmd.document.RegionByLineImp
-
- All Implemented Interfaces:
RegionByLine
public class RegionByLineImp extends java.lang.Object implements RegionByLine
Immutable implementation of theRegionByLine
interface.
-
-
Constructor Summary
Constructors Constructor Description RegionByLineImp(int beginLine, int endLine, int beginColumn, int endColumn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBeginColumn()
int
getBeginLine()
int
getEndColumn()
int
getEndLine()
java.lang.String
toString()
-
-
-
Method Detail
-
getBeginLine
public int getBeginLine()
- Specified by:
getBeginLine
in interfaceRegionByLine
-
getEndLine
public int getEndLine()
- Specified by:
getEndLine
in interfaceRegionByLine
-
getBeginColumn
public int getBeginColumn()
- Specified by:
getBeginColumn
in interfaceRegionByLine
-
getEndColumn
public int getEndColumn()
- Specified by:
getEndColumn
in interfaceRegionByLine
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-