Skip to content

Commit

Permalink
Add Byte Buddy library @OnMethodEnter and @OnMethodExit to UnusedMeth…
Browse files Browse the repository at this point in the history
…od exemptions list, since these annotations indicate that a method will be used reflectively.

PiperOrigin-RevId: 571515967
  • Loading branch information
java-team-github-bot authored and Error Prone Team committed Oct 7, 2023
1 parent 9360f20 commit 46bc963
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ public final class UnusedMethod extends BugChecker implements CompilationUnitTre
"javax.persistence.PreUpdate",
"javax.validation.constraints.AssertFalse",
"javax.validation.constraints.AssertTrue",
"net.bytebuddy.asm.Advice.OnMethodEnter",
"net.bytebuddy.asm.Advice.OnMethodExit",
"org.apache.beam.sdk.transforms.DoFn.ProcessElement",
"org.aspectj.lang.annotation.Pointcut",
"org.aspectj.lang.annotation.After",
Expand Down

0 comments on commit 46bc963

Please sign in to comment.