Package org.openrewrite.analysis
Interface InvocationMatcher
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Matcher for finding
J.NewClass and J.MethodInvocation Expressions.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionadvanced()static InvocationMatcherfrom(Collection<? extends org.openrewrite.java.MethodMatcher> matchers) static InvocationMatcherfrom(org.openrewrite.java.MethodMatcher matcher) static InvocationMatcherfrom(org.openrewrite.java.MethodMatcher... matchers) booleanmatches(@Nullable org.openrewrite.java.tree.Expression expression)
-
Method Details
-
matches
boolean matches(@Nullable @Nullable org.openrewrite.java.tree.Expression expression) -
advanced
-
from
-
from
-
from
-