org.sonar.squid.api
Class SourceFile

java.lang.Object
  extended by org.sonar.squid.api.SourceCode
      extended by org.sonar.squid.api.SourceFile
All Implemented Interfaces:
Comparable<SourceCode>, Measurable

public class SourceFile
extends SourceCode


Constructor Summary
SourceFile(String key)
           
SourceFile(String key, String fileName)
           
 
Method Summary
 void addNoSonarTagLine(int line)
           
 void addNoSonarTagLines(Set<Integer> noSonarTagLines)
           
 Set<Integer> getNoSonarTagLines()
           
 boolean hasNoSonarTagAtLine(int lineNumber)
           
 
Methods inherited from class org.sonar.squid.api.SourceCode
add, add, addChild, addData, compareTo, equals, getAncestor, getCheckMessages, getChildren, getData, getData, getDouble, getDouble, getEndAtLine, getFirstChild, getInt, getInt, getKey, getLastChild, getName, getParent, getParent, getStartAtLine, hasAmongParents, hasCheckMessages, hasChild, hasChildren, hashCode, isType, log, removeMeasure, setEndAtLine, setMeasure, setMeasure, setSourceCodeIndexer, setStartAtLine, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SourceFile

public SourceFile(String key)

SourceFile

public SourceFile(String key,
                  String fileName)
Method Detail

getNoSonarTagLines

public Set<Integer> getNoSonarTagLines()

hasNoSonarTagAtLine

public boolean hasNoSonarTagAtLine(int lineNumber)

addNoSonarTagLines

public void addNoSonarTagLines(Set<Integer> noSonarTagLines)

addNoSonarTagLine

public void addNoSonarTagLine(int line)


Copyright © 2009-2012 SonarSource. All Rights Reserved.