Package org.openrewrite.polyglot
Interface Polyglot.Member
-
- All Known Implementing Classes:
Polyglot.Executable,Polyglot.Instance,Polyglot.Instantiable,Polyglot.Members
- Enclosing interface:
- Polyglot
public static interface Polyglot.Member extends Polyglot
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openrewrite.polyglot.Polyglot
Polyglot.ArrayElement, Polyglot.ArrayElements, Polyglot.Error, Polyglot.Executable, Polyglot.HashEntries, Polyglot.HashEntry, Polyglot.Instance, Polyglot.Instantiable, Polyglot.Member, Polyglot.Members, Polyglot.NumberValue, Polyglot.Source, Polyglot.StringValue, Polyglot.ValueMarker
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <P> @Nullable PolyglotacceptPolyglot(PolyglotVisitor<P> pv, P p)default booleancanInstantiate()default booleancanInvoke()MarkersgetMarkers()java.lang.StringgetName()<P extends Polyglot>
PwithMarkers(Markers markers)Polyglot.MemberwithValue(org.graalvm.polyglot.Value value)-
Methods inherited from interface org.openrewrite.polyglot.Polyglot
accept, as, getValue, isAcceptable
-
Methods inherited from interface org.openrewrite.Tree
getId, getJacksonPolymorphicTypeTag, isScope, print, print, print, print, printer, printTrimmed, printTrimmed, printTrimmed
-
-
-
-
Method Detail
-
getMarkers
Markers getMarkers()
-
getName
java.lang.String getName()
-
withValue
Polyglot.Member withValue(org.graalvm.polyglot.Value value)
-
canInvoke
default boolean canInvoke()
-
canInstantiate
default boolean canInstantiate()
-
acceptPolyglot
@Nullable default <P> @Nullable Polyglot acceptPolyglot(PolyglotVisitor<P> pv, P p)
- Specified by:
acceptPolyglotin interfacePolyglot
-
-