Package org.openrewrite.java.trait
Class Literal.Matcher
java.lang.Object
org.openrewrite.trait.SimpleTraitMatcher<Literal>
org.openrewrite.java.trait.Literal.Matcher
- All Implemented Interfaces:
org.openrewrite.trait.TraitMatcher<Literal>
- Enclosing class:
- Literal
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.openrewrite.trait.SimpleTraitMatcher
asVisitor, 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()
-
-
Method Details
-
mapper
- Parameters:
mapper- A customized mapper, which should be rare, but possibly when you want a custom type factory.- Returns:
- This matcher with a customized mapper set.
-
test
- Specified by:
testin classorg.openrewrite.trait.SimpleTraitMatcher<Literal>
-