org.sonar.squid.text
Class Source

java.lang.Object
  extended by org.sonar.squid.text.Source

public class Source
extends Object


Constructor Summary
Source(String[] stringLines, CodeRecognizer codeRecognizer, Collection<com.puppycrawl.tools.checkstyle.api.TextBlock> comments)
           
Source(String[] stringLines, CodeRecognizer codeRecognizer, com.puppycrawl.tools.checkstyle.api.TextBlock... comments)
           
 
Method Summary
 int getMeasure(Metric metric)
           
 int getMeasure(Metric metric, int fromLine, int toLine)
           
 Set<Integer> getNoSonarTagLines()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Source

public Source(String[] stringLines,
              CodeRecognizer codeRecognizer,
              com.puppycrawl.tools.checkstyle.api.TextBlock... comments)

Source

public Source(String[] stringLines,
              CodeRecognizer codeRecognizer,
              Collection<com.puppycrawl.tools.checkstyle.api.TextBlock> comments)
Method Detail

getMeasure

public int getMeasure(Metric metric)

getMeasure

public int getMeasure(Metric metric,
                      int fromLine,
                      int toLine)

getNoSonarTagLines

public Set<Integer> getNoSonarTagLines()


Copyright © 2009 SonarSource SA. All Rights Reserved.