Skip to content

Commit

Permalink
Exempt methods annotated with @StartBundle or @FinishBundle since the…
Browse files Browse the repository at this point in the history
…y are called reflectively by the Apache Beam framework.

https://beam.apache.org/releases/javadoc/current/org/apache/beam/sdk/transforms/DoFn.html

PiperOrigin-RevId: 601899898
  • Loading branch information
java-team-github-bot authored and Error Prone Team committed Jan 29, 2024
1 parent ec9d69a commit 96dc80b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@ public final class UnusedMethod extends BugChecker implements CompilationUnitTre
"javax.validation.constraints.AssertTrue",
"net.bytebuddy.asm.Advice.OnMethodEnter",
"net.bytebuddy.asm.Advice.OnMethodExit",
"org.apache.beam.sdk.transforms.DoFn.FinishBundle",
"org.apache.beam.sdk.transforms.DoFn.ProcessElement",
"org.apache.beam.sdk.transforms.DoFn.StartBundle",
"org.aspectj.lang.annotation.Pointcut",
"org.aspectj.lang.annotation.After",
"org.aspectj.lang.annotation.Before",
Expand Down

0 comments on commit 96dc80b

Please sign in to comment.