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 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, computeMeasures, equals, getChildren, getData, getDouble, getEndAtLine, getFirstChild, getInt, getKey, getLastChild, getName, getParent, getParent, getStartAtLine, hasAmongParents, hasChild, hashCode, isType, 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)


Copyright © 2009-2010 SonarSource SA. All Rights Reserved.