Groovy Documentation

org.gmetrics.result
[Groovy] Class MethodKey

java.lang.Object
  org.gmetrics.result.MethodKey

class MethodKey

Serves as a key in the Map of method --> MetricResult. This encapsulates the unique method information that enables distinguishing between multiple overridden methods (same name, different parameters).

Authors:
Chris Mair


Property Summary
def methodName

def signature

 
Constructor Summary
MethodKey(String methodName)

MethodKey(org.codehaus.groovy.ast.MethodNode methodNode)

 
Method Summary
boolean equals(Object object)

int hashCode()

String toString()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Property Detail

methodName

final def methodName


signature

final def signature


 
Constructor Detail

MethodKey

MethodKey(String methodName)


MethodKey

MethodKey(org.codehaus.groovy.ast.MethodNode methodNode)


 
Method Detail

equals

@Override
boolean equals(Object object)


hashCode

@Override
int hashCode()


toString

@Override
String toString()


 

Groovy Documentation