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 InvocationMatcherfromInvocationMatchers(Collection<InvocationMatcher> matchers) static InvocationMatcherfromMethodMatcher(org.openrewrite.java.MethodMatcher methodMatcher) static InvocationMatcherfromMethodMatchers(Collection<org.openrewrite.java.MethodMatcher> matchers) static InvocationMatcherfromMethodMatchers(org.openrewrite.java.MethodMatcher... methodMatchers) booleanmatches(org.openrewrite.java.tree.Expression expression)
-
Method Details
-
matches
boolean matches(org.openrewrite.java.tree.Expression expression) -
advanced
-
fromMethodMatcher
-
fromInvocationMatchers
-
fromMethodMatchers
-
fromMethodMatchers
static InvocationMatcher fromMethodMatchers(Collection<org.openrewrite.java.MethodMatcher> matchers)
-