Package org.openrewrite.analysis
Class InvocationMatcher.AdvancedInvocationMatcher
java.lang.Object
org.openrewrite.analysis.InvocationMatcher.AdvancedInvocationMatcher
- Enclosing interface:
- InvocationMatcher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAnyArgument(org.openrewrite.Cursor cursor) booleanisFirstParameter(org.openrewrite.Cursor cursor) booleanisParameter(org.openrewrite.Cursor cursor, int parameterIndex) booleanisSelect(org.openrewrite.Cursor cursor)
-
Constructor Details
-
AdvancedInvocationMatcher
public AdvancedInvocationMatcher()
-
-
Method Details
-
isSelect
public boolean isSelect(org.openrewrite.Cursor cursor) -
isAnyArgument
public boolean isAnyArgument(org.openrewrite.Cursor cursor) -
isFirstParameter
public boolean isFirstParameter(org.openrewrite.Cursor cursor) -
isParameter
public boolean isParameter(org.openrewrite.Cursor cursor, int parameterIndex)
-