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()
CodeFragmentgetStartLine in interface CodeFragmentpublic int getEndLine()
CodeFragmentgetEndLine in interface CodeFragmentpublic int getLines()
Copyright © 2009-2012 SonarSource. All Rights Reserved.