private String getMethodName ( Method method ) { StatName statName = method . getAnnotation ( StatName . class ) ; return statName == null ? method . getName ( ) : statName . value ( ) ; }
Returns name for monitored method .