Package org.openrewrite.polyglot
Class PolyglotValueMappings.MarkersMapping
- java.lang.Object
-
- org.openrewrite.polyglot.PolyglotValueMappings.MarkersMapping
-
- All Implemented Interfaces:
java.util.function.Function<org.graalvm.polyglot.Value,Markers>,java.util.function.Predicate<org.graalvm.polyglot.Value>,PolyglotMapping<org.graalvm.polyglot.Value,Markers>,PolyglotValueMappings.FromValuePolyglotMapping<Markers>
- Enclosing interface:
- PolyglotValueMappings
public static class PolyglotValueMappings.MarkersMapping extends java.lang.Object implements PolyglotValueMappings.FromValuePolyglotMapping<Markers>
-
-
Constructor Summary
Constructors Constructor Description MarkersMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Markersapply(org.graalvm.polyglot.Value value)java.lang.Class<Markers>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<Markers> outputType()
- Specified by:
outputTypein interfacePolyglotMapping<org.graalvm.polyglot.Value,Markers>
-
apply
public Markers apply(org.graalvm.polyglot.Value value)
- Specified by:
applyin interfacejava.util.function.Function<org.graalvm.polyglot.Value,Markers>
-
test
public boolean test(org.graalvm.polyglot.Value value)
- Specified by:
testin interfacejava.util.function.Predicate<org.graalvm.polyglot.Value>
-
-