0
方法リベース((タイプ) - > {})おそらく時代遅れAPIを拾っAgentBuilder.Default未定義方法AgentBuilder.Default ByteBuddy
public static void premain(String arg, Instrumentation inst){
new AgentBuilder.Default()
.rebase(type -> type.getSimpleName().equals("Calculator"))
.transform((builder, typeDescription) -> builder
.method(method -> method.getDeclaredAnnotations()
.isAnnotationPresent(Log.class))
.intercept(MethodDelegation.to(LogAspect.class)))
.installOn(inst);
}