diff --git a/javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/instrumentation/indy/AdviceTransformer.java b/javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/instrumentation/indy/AdviceTransformer.java index 500e565b85bb..26f3323c0de5 100644 --- a/javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/instrumentation/indy/AdviceTransformer.java +++ b/javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/instrumentation/indy/AdviceTransformer.java @@ -112,7 +112,7 @@ private static boolean hasInlineAdvice(MethodNode methodNode, Type type) { private static class OutputArgument { // index of the method argument with the annotation final int adviceIndex; - // value of the annotation or -1 if Advice.Return + // value of the annotation or -1 if Advice.Return or Advice.Enter final int methodIndex; OutputArgument(int adviceIndex, int methodIndex) {