org.sonar.duplications.statement
Class Statement

java.lang.Object
  extended by org.sonar.duplications.statement.Statement

public class Statement
extends Object


Constructor Summary
Statement(int startLine, int endLine, String value)
           
Statement(List<Token> tokens)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getEndLine()
           
 int getStartLine()
           
 String getValue()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Statement

public Statement(int startLine,
                 int endLine,
                 String value)

Statement

public Statement(List<Token> tokens)
Method Detail

getStartLine

public int getStartLine()

getEndLine

public int getEndLine()

getValue

public String getValue()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2011 SonarSource. All Rights Reserved.