org.jikesrvm.adaptive.measurements.instrumentation
Class MethodNameFunction
java.lang.Object
org.jikesrvm.adaptive.measurements.instrumentation.MethodNameFunction
- All Implemented Interfaces:
- CounterNameFunction
class MethodNameFunction
- extends Object
- implements CounterNameFunction
This class takes a compiled method id and returns a string
representation of the method name.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodNameFunction
MethodNameFunction()
getName
public String getName(int key)
- Specified by:
getName
in interface CounterNameFunction
- Parameters:
key
- the compiled method id of a method