org.sonar.squid.sensors
Class BaseCommentsSensor

java.lang.Object
  extended by org.sonar.squid.sensors.ASTSensor
      extended by org.sonar.squid.sensors.BaseCommentsSensor
Direct Known Subclasses:
CommentSensors, HeaderCommentSensor, PublicApiSensor

public class BaseCommentsSensor
extends ASTSensor


Nested Class Summary
static class BaseCommentsSensor.CommentLinesCounter
           
 
Constructor Summary
BaseCommentsSensor()
           
 
Method Summary
 void countCommentLines(com.puppycrawl.tools.checkstyle.api.TextBlock commentBlock, BaseCommentsSensor.CommentLinesCounter counter, com.puppycrawl.tools.checkstyle.api.FileContents fileContent)
           
 
Methods inherited from class org.sonar.squid.sensors.ASTSensor
addResource, ensureResourceType, equals, findParent, findType, getFileContents, getScope, getWantedTokens, hashCode, isClass, isClassVariable, isFinal, isInterface, isInterfaceVariable, isScope, isStatic, isType, leaveFile, leaveToken, peekResource, popResource, setFileContents, setResourcesStack, visitFile, visitToken
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseCommentsSensor

public BaseCommentsSensor()
Method Detail

countCommentLines

public void countCommentLines(com.puppycrawl.tools.checkstyle.api.TextBlock commentBlock,
                              BaseCommentsSensor.CommentLinesCounter counter,
                              com.puppycrawl.tools.checkstyle.api.FileContents fileContent)


Copyright © 2009 SonarSource SA. All Rights Reserved.