org.sonar.squid.api
Class SourceMethod

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

public class SourceMethod
extends SourceCode


Constructor Summary
SourceMethod(SourceClass peekParentClass, String methodSignature, int startAtLine)
           
SourceMethod(String key)
           
 
Method Summary
 boolean isAccessor()
           
 boolean isSuppressWarnings()
           
 void setSuppressWarnings(boolean suppressWarnings)
           
 
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

SourceMethod

public SourceMethod(String key)

SourceMethod

public SourceMethod(SourceClass peekParentClass,
                    String methodSignature,
                    int startAtLine)
Method Detail

isAccessor

public boolean isAccessor()

setSuppressWarnings

public void setSuppressWarnings(boolean suppressWarnings)

isSuppressWarnings

public boolean isSuppressWarnings()


Copyright © 2009-2012 SonarSource. All Rights Reserved.