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

pack-priv final Class UnnamedToModulePolyglotImplGen

extends UnnamedToModulePolyglotImpl
Class Inheritance
Imports
java.io.File, .InputStream, .OutputStream, java.lang.invoke.MethodHandle, .MethodHandles.Lookup, .MethodType, java.net.URI, .URL, java.nio.charset.Charset, java.nio.file.Path, java.util.List, .Map, .Objects, java.util.function.Consumer, .Function, .Predicate, org.graalvm.options.OptionDescriptors, org.graalvm.polyglot.HostAccess.TargetMappingPrecedence, .SandboxPolicy, org.graalvm.polyglot.impl.UnnamedToModuleBridge.UnnamedToModulePolyglotImpl, org.graalvm.polyglot.io.FileSystem, .MessageTransport, .ProcessHandler

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 UnnamedToModulePolyglotImplGen.Handles
pack-priv final Object
Inherited from org.graalvm.polyglot.impl.UnnamedToModuleBridge.UnnamedToModulePolyglotImpl:
BRIDGE

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public FileSystem
public Object
public Object
buildEngine(String[] permittedLanguages_, SandboxPolicy sandboxPolicy_, OutputStream out_, OutputStream err_, InputStream in_, Map<String, String> options_, boolean allowExperimentalOptions_, boolean boundEngine_, MessageTransport messageInterceptor_, Object logHandler_, Object hostLanguage_, boolean hostLanguageOnly_, boolean registerInActiveEngines_, Object polyglotHostService_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.buildEngine.

public Object
buildLimits(long statementLimit_, Predicate<Object> statementLimitSourceFilter_, Consumer<Object> onLimit_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.buildLimits.

public Object
buildSource(String language_, Object origin_, URI uri_, String name_, String mimeType_, Object content_, boolean interactive_, boolean internal_, boolean cached_, Charset encoding_, URL url_, String path_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.buildSource.

public boolean
public Object
public Object
public AbstractPolyglotImpl.ThreadScope
public OptionDescriptors
public String
public String
public String
public String
public String
public Object
public int
private static <T extends Throwable> RuntimeException
public Object
initializeModuleToUnnamedAccess(MethodHandles.Lookup unnamedLookup_, Object unnamedAccess_, Object unnamedAPIAccess_, Object unnamedIOAccess_, Object unnamedManagementAccess_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.initializeModuleToUnnamedAccess.

public boolean
public boolean
public boolean
public Class<?>
public FileSystem
public ProcessHandler
public Object
public Object
newIOAccess(String name_, boolean allowHostFileAccess_, boolean allowHostSocketAccess_, FileSystem customFileSystem_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.newIOAccess.

public Object
public FileSystem
public FileSystem
public <S, T> Object
newTargetTypeMapping(Class<S> sourceType_, Class<T> targetType_, Predicate<S> acceptsValue_, Function<S, T> convertValue_, HostAccess.TargetMappingPrecedence precedence_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.newTargetTypeMapping.

public void
public void
Inherited from org.graalvm.polyglot.impl.UnnamedToModuleBridge.UnnamedToModulePolyglotImpl:
fromFileSystemfromOptionDescriptorsfromProcessHandlerfromThreadScopeinitializemethodHandleLookupmoduleLookuptoFileSystemtoMessageTransporttoOptionDescriptorsArraytoProcessHandlertoSandboxPolicytoTargetMappingPrecedence

Field Detail

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

Constructor Detail

UnnamedToModulePolyglotImplGenback to summary
public UnnamedToModulePolyglotImplGen(Object receiver)

Method Detail

allowLanguageHomeAccessback to summary
public FileSystem allowLanguageHomeAccess(FileSystem fileSystem_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.allowLanguageHomeAccess.

Annotations
@Override
asValueback to summary
public Object asValue(Object o_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.asValue.

Annotations
@Override
buildEngineback to summary
public Object buildEngine(String[] permittedLanguages_, SandboxPolicy sandboxPolicy_, OutputStream out_, OutputStream err_, InputStream in_, Map<String, String> options_, boolean allowExperimentalOptions_, boolean boundEngine_, MessageTransport messageInterceptor_, Object logHandler_, Object hostLanguage_, boolean hostLanguageOnly_, boolean registerInActiveEngines_, Object polyglotHostService_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.buildEngine.

Annotations
@Override
buildLimitsback to summary
public Object buildLimits(long statementLimit_, Predicate<Object> statementLimitSourceFilter_, Consumer<Object> onLimit_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.buildLimits.

Annotations
@Override
buildSourceback to summary
public Object buildSource(String language_, Object origin_, URI uri_, String name_, String mimeType_, Object content_, boolean interactive_, boolean internal_, boolean cached_, Charset encoding_, URL url_, String path_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.buildSource.

Annotations
@Override
copyResourcesback to summary
public boolean copyResources(Path targetFolder_, String... components_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.copyResources.

Annotations
@Override
createHostAccessback to summary
public Object createHostAccess()

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.createHostAccess.

Annotations
@Override
createHostLanguageback to summary
public Object createHostLanguage(Object access_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.createHostLanguage.

Annotations
@Override
createThreadScopeback to summary
public AbstractPolyglotImpl.ThreadScope createThreadScope()

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.createThreadScope.

Annotations
@Override
createUnionOptionDescriptorsback to summary
public OptionDescriptors createUnionOptionDescriptors(OptionDescriptors... optionDescriptors_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.createUnionOptionDescriptors.

Annotations
@Override
findLanguageback to summary
public String findLanguage(File file_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.findLanguage.

Annotations
@Override
findLanguageback to summary
public String findLanguage(String mimeType_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.findLanguage.

Annotations
@Override
findLanguageback to summary
public String findLanguage(URL url_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.findLanguage.

Annotations
@Override
findMimeTypeback to summary
public String findMimeType(File file_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.findMimeType.

Annotations
@Override
findMimeTypeback to summary
public String findMimeType(URL url_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.findMimeType.

Annotations
@Override
getCurrentContextback to summary
public Object getCurrentContext()

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.getCurrentContext.

Annotations
@Override
getPriorityback to summary
public int getPriority()

Implements abstract org.graalvm.polyglot.impl.AbstractPolyglotImpl.getPriority.

Annotations
@Override
handleException_back to summary
private static <T extends Throwable> RuntimeException handleException_(Throwable t) throws Throwable-:T
Annotations
@SuppressWarnings:unchecked
initializeModuleToUnnamedAccessback to summary
public Object initializeModuleToUnnamedAccess(MethodHandles.Lookup unnamedLookup_, Object unnamedAccess_, Object unnamedAPIAccess_, Object unnamedIOAccess_, Object unnamedManagementAccess_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.initializeModuleToUnnamedAccess.

Annotations
@Override
isDefaultProcessHandlerback to summary
public boolean isDefaultProcessHandler(ProcessHandler processHandler_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.isDefaultProcessHandler.

Annotations
@Override
isHostFileSystemback to summary
public boolean isHostFileSystem(FileSystem fileSystem_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.isHostFileSystem.

Annotations
@Override
isInternalFileSystemback to summary
public boolean isInternalFileSystem(FileSystem fileSystem_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.isInternalFileSystem.

Annotations
@Override
loadLanguageClassback to summary
public Class<?> loadLanguageClass(String className_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.loadLanguageClass.

Annotations
@Override
newDefaultFileSystemback to summary
public FileSystem newDefaultFileSystem(String hostTmpDir_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.newDefaultFileSystem.

Annotations
@Override
newDefaultProcessHandlerback to summary
public ProcessHandler newDefaultProcessHandler()

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.newDefaultProcessHandler.

Annotations
@Override
newFileSystemback to summary
public Object newFileSystem(FileSystem fs_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.newFileSystem.

Annotations
@Override
newIOAccessback to summary
public Object newIOAccess(String name_, boolean allowHostFileAccess_, boolean allowHostSocketAccess_, FileSystem customFileSystem_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.newIOAccess.

Annotations
@Override
newLogHandlerback to summary
public Object newLogHandler(Object logHandlerOrStream_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.newLogHandler.

Annotations
@Override
newNIOFileSystemback to summary
public FileSystem newNIOFileSystem(FileSystem fileSystem_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.newNIOFileSystem.

Annotations
@Override
newReadOnlyFileSystemback to summary
public FileSystem newReadOnlyFileSystem(FileSystem fileSystem_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.newReadOnlyFileSystem.

Annotations
@Override
newTargetTypeMappingback to summary
public <S, T> Object newTargetTypeMapping(Class<S> sourceType_, Class<T> targetType_, Predicate<S> acceptsValue_, Function<S, T> convertValue_, HostAccess.TargetMappingPrecedence precedence_)

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.newTargetTypeMapping.

Annotations
@Override
preInitializeEngineback to summary
public void preInitializeEngine()

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.preInitializeEngine.

Annotations
@Override
resetPreInitializedEngineback to summary
public void resetPreInitializedEngine()

Overrides org.graalvm.polyglot.impl.AbstractPolyglotImpl.resetPreInitializedEngine.

Annotations
@Override
org.graalvm.polyglot.impl back to summary

pack-priv final Class UnnamedToModulePolyglotImplGen.Handles

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

Field Summary

Modifier and TypeField and Description
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

allowLanguageHomeAccess_back to summary
private final MethodHandle allowLanguageHomeAccess_
asValue_back to summary
private final MethodHandle asValue_
buildEngine_back to summary
private final MethodHandle buildEngine_
buildLimits_back to summary
private final MethodHandle buildLimits_
buildSource_back to summary
private final MethodHandle buildSource_
copyResources_back to summary
private final MethodHandle copyResources_
createHostAccess_back to summary
private final MethodHandle createHostAccess_
createHostLanguage_back to summary
private final MethodHandle createHostLanguage_
createThreadScope_back to summary
private final MethodHandle createThreadScope_
createUnionOptionDescriptors_back to summary
private final MethodHandle createUnionOptionDescriptors_
findLanguage1_back to summary
private final MethodHandle findLanguage1_
findLanguage2_back to summary
private final MethodHandle findLanguage2_
findLanguage_back to summary
private final MethodHandle findLanguage_
findMimeType1_back to summary
private final MethodHandle findMimeType1_
findMimeType_back to summary
private final MethodHandle findMimeType_
getCurrentContext_back to summary
private final MethodHandle getCurrentContext_
getPriority_back to summary
private final MethodHandle getPriority_
initializeModuleToUnnamedAccess_back to summary
private final MethodHandle initializeModuleToUnnamedAccess_
isDefaultProcessHandler_back to summary
private final MethodHandle isDefaultProcessHandler_
isHostFileSystem_back to summary
private final MethodHandle isHostFileSystem_
isInternalFileSystem_back to summary
private final MethodHandle isInternalFileSystem_
loadLanguageClass_back to summary
private final MethodHandle loadLanguageClass_
newDefaultFileSystem_back to summary
private final MethodHandle newDefaultFileSystem_
newDefaultProcessHandler_back to summary
private final MethodHandle newDefaultProcessHandler_
newFileSystem_back to summary
private final MethodHandle newFileSystem_
newIOAccess_back to summary
private final MethodHandle newIOAccess_
newLogHandler_back to summary
private final MethodHandle newLogHandler_
newNIOFileSystem_back to summary
private final MethodHandle newNIOFileSystem_
newReadOnlyFileSystem_back to summary
private final MethodHandle newReadOnlyFileSystem_
newTargetTypeMapping_back to summary
private final MethodHandle newTargetTypeMapping_
preInitializeEngine_back to summary
private final MethodHandle preInitializeEngine_
resetPreInitializedEngine_back to summary
private final MethodHandle resetPreInitializedEngine_

Constructor Detail

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