if (annotation != null) {
builder.put(method.getInvocable().getDefinitionMethod(), timerMetric(this.metrics, method, annotation));
}</BUG>
}
private void registerMeteredAnnotations(final ImmutableMap.Builder<Method, Meter> builder,
<BUG>final ResourceMethod method) {
final Metered annotation = method.getInvocable().getDefinitionMethod().getAnnotation(Metered.class);
if (annotation != null) {
builder.put(method.getInvocable().getDefinitionMethod(), meterMetric(metrics, method, annotation));
}</BUG>
}

if (annotation != null) {
builder.put(definitionMethod, timerMetric(this.metrics, method, annotation));
}
}
private void registerMeteredAnnotations(final ImmutableMap.Builder<Method, Meter> builder,
final ResourceMethod method) {
final Method definitionMethod = method.getInvocable().getDefinitionMethod();
final Metered annotation = definitionMethod.getAnnotation(Metered.class);
if (annotation != null) {
builder.put(definitionMethod, meterMetric(metrics, method, annotation));
}
}
