Package org.openrewrite.java.trait
Class MethodAccess.Matcher
java.lang.Object
org.openrewrite.trait.SimpleTraitMatcher<MethodAccess>
org.openrewrite.java.trait.MethodAccess.Matcher
- All Implemented Interfaces:
org.openrewrite.trait.TraitMatcher<MethodAccess>
- Enclosing class:
MethodAccess
public static class MethodAccess.Matcher
extends org.openrewrite.trait.SimpleTraitMatcher<MethodAccess>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<P> org.openrewrite.TreeVisitor<? extends org.openrewrite.Tree, P> asVisitor(org.openrewrite.trait.VisitFunction2<MethodAccess, P> visitor) protected @Nullable MethodAccesstest(org.openrewrite.Cursor cursor) Methods inherited from class org.openrewrite.trait.SimpleTraitMatcher
get, higher, lowerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openrewrite.trait.TraitMatcher
asVisitor, get, lower, require, require
-
Constructor Details
-
Matcher
public Matcher() -
Matcher
-
-
Method Details
-
returns
-
asVisitor
public <P> org.openrewrite.TreeVisitor<? extends org.openrewrite.Tree,P> asVisitor(org.openrewrite.trait.VisitFunction2<MethodAccess, P> visitor) - Specified by:
asVisitorin interfaceorg.openrewrite.trait.TraitMatcher<MethodAccess>- Overrides:
asVisitorin classorg.openrewrite.trait.SimpleTraitMatcher<MethodAccess>
-
test
- Specified by:
testin classorg.openrewrite.trait.SimpleTraitMatcher<MethodAccess>
-