openrewrite / rewrite-analysis

OpenRewrite recipes for data flow analysis.
Apache License 2.0
8 stars 8 forks source link

Simplify `InvocationMatcher` API #43

Closed JLLeitschuh closed 6 months ago

JLLeitschuh commented 6 months ago

Makes InvocationMatcher easier to use directly instead of needing to hold an instance of MethodMatcher independent from InvocationMatcher.

Basically everything in rewrite-java-security and anything using rewrite-analysis needs to use InvocationMatcher instead of MethodMatcher so this makes it easier to use InvocationMatcher exclusively.

Signed-off-by: Jonathan Leitschuh Jonathan.Leitschuh@gmail.com

JLLeitschuh commented 6 months ago

Merging to unblock myself, but @knutwannheden and @timtebeek please don't hesitate to leave a review