Package org.openrewrite.polyglot
Class PolyglotValueMappings.TreeVisitorMapping
- java.lang.Object
-
- org.openrewrite.polyglot.PolyglotValueMappings.TreeVisitorMapping
-
- All Implemented Interfaces:
java.util.function.Function<org.graalvm.polyglot.Value,TreeVisitor>,java.util.function.Predicate<org.graalvm.polyglot.Value>,PolyglotMapping<org.graalvm.polyglot.Value,TreeVisitor>,PolyglotValueMappings.FromValuePolyglotMapping<TreeVisitor>
- Enclosing interface:
- PolyglotValueMappings
public static class PolyglotValueMappings.TreeVisitorMapping extends java.lang.Object implements PolyglotValueMappings.FromValuePolyglotMapping<TreeVisitor>
-
-
Constructor Summary
Constructors Constructor Description TreeVisitorMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TreeVisitorapply(org.graalvm.polyglot.Value value)java.lang.Class<TreeVisitor>outputType()booleantest(org.graalvm.polyglot.Value value)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openrewrite.polyglot.PolyglotValueMappings.FromValuePolyglotMapping
inputType
-
-
-
-
Method Detail
-
outputType
public java.lang.Class<TreeVisitor> outputType()
- Specified by:
outputTypein interfacePolyglotMapping<org.graalvm.polyglot.Value,TreeVisitor>
-
apply
public TreeVisitor apply(org.graalvm.polyglot.Value value)
- Specified by:
applyin interfacejava.util.function.Function<org.graalvm.polyglot.Value,TreeVisitor>
-
test
public boolean test(org.graalvm.polyglot.Value value)
- Specified by:
testin interfacejava.util.function.Predicate<org.graalvm.polyglot.Value>
-
-