org.sonar.java.ast.visitor
Class PublicApiVisitor
java.lang.Object
org.sonar.java.ast.visitor.JavaAstVisitor
org.sonar.java.ast.visitor.PublicApiVisitor
- All Implemented Interfaces:
- CodeVisitor
public class PublicApiVisitor
- extends JavaAstVisitor
Methods inherited from class org.sonar.java.ast.visitor.JavaAstVisitor |
addSourceCode, getFileContents, getInputFile, leaveFile, 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 |
TOKENS
public static final List<Integer> TOKENS
PublicApiVisitor
public PublicApiVisitor()
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
isDocumentedApi
public static boolean isDocumentedApi(com.puppycrawl.tools.checkstyle.api.DetailAST ast,
com.puppycrawl.tools.checkstyle.api.FileContents fileContents)
- Also used by
UndocumentedApiCheck
isPublicApi
public static boolean isPublicApi(com.puppycrawl.tools.checkstyle.api.DetailAST ast)
- Also used by
UndocumentedApiCheck
Copyright © 2009-2011 SonarSource. All Rights Reserved.