public class ClonePart extends Object implements CodeFragment
Constructor and Description |
---|
ClonePart(String resourceId,
int startUnit,
int startLine,
int endLine) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getEndLine()
Number of line where fragment ends.
|
int |
getLines() |
String |
getResourceId() |
int |
getStartLine()
Number of line where fragment starts.
|
int |
getUnitStart() |
int |
hashCode() |
String |
toString() |
public String getResourceId()
public int getUnitStart()
public int getStartLine()
CodeFragment
getStartLine
in interface CodeFragment
public int getEndLine()
CodeFragment
getEndLine
in interface CodeFragment
public int getLines()
Copyright © 2009-2012 SonarSource. All Rights Reserved.