Suppress unused waring for advice class
MODIFY
instrumentation/internal/internal-url-class-loader/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/internal/urlclassloader/UrlClassLoaderInstrumentation.java
instrumentation/internal/internal-url-class-loader/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/internal/urlclassloader/UrlClassLoaderInstrumentation.java
@@ -41,6 +41,7 @@ public class UrlClassLoaderInstrumentation implements TypeInstrumentation {
UrlClassLoaderInstrumentation.class.getName() + "$InvalidateClassLoaderMatcher");
}
+ @SuppressWarnings("unused")
public static class InvalidateClassLoaderMatcher {
@Advice.OnMethodExit(suppress = Throwable.class)
public static void onExit(@Advice.This URLClassLoader loader) {

Suppress unused waring for advice class (#5908)