Top Description Inners Fields Constructors Methods
org.graalvm.polyglot.impl

pack-priv final Class ModuleToUnnamedThreadScopeGen

extends ModuleToUnnamedThreadScope
Class Inheritance
Imports
java.lang.invoke.MethodHandle, .MethodHandles.Lookup, .MethodType, java.util.List, .Objects, org.graalvm.polyglot.impl.AbstractPolyglotImpl.ThreadScope, .ModuleToUnnamedBridge.ModuleToUnnamedThreadScope

Generated code used for Truffle unnamed to named module bridge. This code allows polyglot on the classpath to delegate to polyglot on the module-path. This code is generated by the polyglot annotation processor.asdf

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Modifier and TypeField and Description
private static final ModuleToUnnamedThreadScopeGen.Handles
pack-priv final Object

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
close()

Implements abstract org.graalvm.polyglot.impl.AbstractPolyglotImpl.ThreadScope.close.

Implements java.lang.AutoCloseable.close.

Closes this resource, relinquishing any underlying resources.

private static <T extends Throwable> RuntimeException
Inherited from org.graalvm.polyglot.impl.ModuleToUnnamedBridge.ModuleToUnnamedThreadScope:
methodHandleLookup

Field Detail

HANDLESback to summary
private static final ModuleToUnnamedThreadScopeGen.Handles HANDLES
receiverback to summary
pack-priv final Object receiver

Constructor Detail

ModuleToUnnamedThreadScopeGenback to summary
public ModuleToUnnamedThreadScopeGen(AbstractPolyglotImpl engineImpl, Object receiver)

Method Detail

closeback to summary
public void close()

Implements abstract org.graalvm.polyglot.impl.AbstractPolyglotImpl.ThreadScope.close.

Implements java.lang.AutoCloseable.close.

Doc from java.lang.AutoCloseable.close.

Closes this resource, relinquishing any underlying resources. This method is invoked automatically on objects managed by the try-with-resources statement.

Annotations
@Override
handleException_back to summary
private static <T extends Throwable> RuntimeException handleException_(Throwable t) throws Throwable-:T
Annotations
@SuppressWarnings:unchecked
org.graalvm.polyglot.impl back to summary

pack-priv final Class ModuleToUnnamedThreadScopeGen.Handles

extends Object
Class Inheritance
  • java.lang.Object
  • org.graalvm.polyglot.impl.ModuleToUnnamedThreadScopeGen.Handles

Field Summary

Modifier and TypeField and Description
private final MethodHandle

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

close_back to summary
private final MethodHandle close_

Constructor Detail

Handlesback to summary
pack-priv Handles(MethodHandles.Lookup lookup) throws ReflectiveOperationException