Package org.openrewrite.polyglot
Class PolyglotValueMappings.PolyglotTreeMapping
- java.lang.Object
-
- org.openrewrite.polyglot.PolyglotValueMappings.PolyglotTreeMapping
-
- All Implemented Interfaces:
java.util.function.Function<Tree,org.graalvm.polyglot.Value>,java.util.function.Predicate<Tree>,PolyglotMapping<Tree,org.graalvm.polyglot.Value>,PolyglotValueMappings.ToValuePolyglotMapping<Tree>
- Enclosing interface:
- PolyglotValueMappings
public static class PolyglotValueMappings.PolyglotTreeMapping extends java.lang.Object implements PolyglotValueMappings.ToValuePolyglotMapping<Tree>
-
-
Constructor Summary
Constructors Constructor Description PolyglotTreeMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.graalvm.polyglot.Valueapply(Tree tree)java.lang.Class<Tree>inputType()booleantest(Tree tree)-
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.ToValuePolyglotMapping
outputType
-
-
-
-
Method Detail
-
inputType
public java.lang.Class<Tree> inputType()
- Specified by:
inputTypein interfacePolyglotMapping<Tree,org.graalvm.polyglot.Value>
-
apply
public org.graalvm.polyglot.Value apply(Tree tree)
- Specified by:
applyin interfacejava.util.function.Function<Tree,org.graalvm.polyglot.Value>
-
-