java.lang.Object
edu.hm.hafner.analysis.parser.dry.simian.Block
Java Bean class for a duplicated block of a Simian duplication warning.
- Autor:
- Ullrich Hafner
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungintReturns the line number of the end of the duplication.Returns the file name.intReturns the line number of the start of the duplication.voidsetEndLineNumber(int endLineNumber) Sets the line number of the end of the duplication to the specified value.voidsetSourceFile(String sourceFile) Sets the file name to the specified value.voidsetStartLineNumber(int startLineNumber) Sets the line number of the start of the duplication to the specified value.
-
Konstruktordetails
-
Block
public Block()
-
-
Methodendetails
-
getSourceFile
Returns the file name.- Gibt zurück:
- the file name
-
setSourceFile
Sets the file name to the specified value.- Parameter:
sourceFile- the value to set
-
getStartLineNumber
public int getStartLineNumber()Returns the line number of the start of the duplication.- Gibt zurück:
- the line number of the start of the duplication.
-
setStartLineNumber
public void setStartLineNumber(int startLineNumber) Sets the line number of the start of the duplication to the specified value.- Parameter:
startLineNumber- the value to set
-
getEndLineNumber
public int getEndLineNumber()Returns the line number of the end of the duplication.- Gibt zurück:
- the line number of the end of the duplication.
-
setEndLineNumber
public void setEndLineNumber(int endLineNumber) Sets the line number of the end of the duplication to the specified value.- Parameter:
endLineNumber- the value to set
-