org.sonar.java.ast.visitor
Class LinesOfCodeVisitor
java.lang.Object
org.sonar.java.ast.visitor.JavaAstVisitor
org.sonar.java.ast.visitor.LinesOfCodeVisitor
- All Implemented Interfaces:
- CodeVisitor
public class LinesOfCodeVisitor
- extends JavaAstVisitor
Methods inherited from class org.sonar.java.ast.visitor.JavaAstVisitor |
addSourceCode, getFileContents, getInputFile, leaveToken, peekParentClass, peekParentPackage, peekSourceCode, popSourceCode, setFileContents, setInputFile, setSource, setSourceCodeStack, visitFile |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinesOfCodeVisitor
public LinesOfCodeVisitor()
getWantedTokens
public List<Integer> getWantedTokens()
- Overrides:
getWantedTokens
in class JavaAstVisitor
visitToken
public void visitToken(com.puppycrawl.tools.checkstyle.api.DetailAST ast)
- Overrides:
visitToken
in class JavaAstVisitor
leaveFile
public void leaveFile(com.puppycrawl.tools.checkstyle.api.DetailAST ast)
- Overrides:
leaveFile
in class JavaAstVisitor
Copyright © 2009-2012 SonarSource. All Rights Reserved.