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 methodName, int startAtLine)
           
SourceMethod(String key)
           
 
Method Summary
 boolean isAccessor()
           
 
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

SourceMethod

public SourceMethod(String key)

SourceMethod

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

isAccessor

public boolean isAccessor()


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