org.sonar.squid.api
Class SourceMethod

java.lang.Object
  extended by java.util.Observable
      extended by org.sonar.squid.api.TreeNode<SourceCode>
          extended by org.sonar.squid.api.SourceCode
              extended by org.sonar.squid.api.SourceMethod
All Implemented Interfaces:
Comparable<SourceCode>, Node, 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, compareTo, computeMeasures, createEdgeWith, createEdgeWith, dependedUpon, dependsUpon, equals, getDouble, getEdgeFrom, getEdgeTo, getEndAtLine, getInt, getKey, getName, getStartAtLine, getUsageBy, getUsageOf, hashCode, isType, setEndAtLine, setMeasure, setMeasure, setStartAtLine, toString
 
Methods inherited from class org.sonar.squid.api.TreeNode
addChild, getChildren, getFirstChild, getLastChild, getParent, getParent, hasAmongParents, hasChild
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
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 SonarSource SA. All Rights Reserved.