org.sonar.squid.text
Class Source
java.lang.Object
org.sonar.squid.text.Source
public class Source
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Source
public Source(Reader reader,
CodeRecognizer codeRecognizer,
String... additionalSingleLineCommentFlag)
Source
public Source(String[] stringLines,
CodeRecognizer codeRecognizer)
getMeasure
public int getMeasure(Metric metric)
getMeasure
public int getMeasure(Metric metric,
int fromLine,
int toLine)
- Numbering of lines starts from 1.
getNoSonarTagLines
public Set<Integer> getNoSonarTagLines()
getNumberOfLines
@Beta
public int getNumberOfLines()
- Since:
- 2.14
Copyright © 2009-2012 SonarSource. All Rights Reserved.