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

pack-priv final Class ModuleToUnnamedOptionDescriptorsGen

extends ModuleToUnnamedOptionDescriptors
Class Inheritance
Imports
java.lang.invoke.MethodHandle, .MethodHandles.Lookup, .MethodType, java.util.Iterator, .List, .Objects, .Spliterator, java.util.function.Consumer, org.graalvm.options.OptionDescriptor, .OptionDescriptors, org.graalvm.polyglot.impl.ModuleToUnnamedBridge.ModuleToUnnamedOptionDescriptors

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 ModuleToUnnamedOptionDescriptorsGen.Handles
pack-priv final Object

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
forEach(Consumer<? super OptionDescriptor>
The action to be performed for each element
action_
)

Overrides default java.lang.Iterable.forEach.

Performs the given action for each element of the Iterable until all elements have been processed or the action throws an exception.

public OptionDescriptor
get(String optionName_)

Implements org.graalvm.options.OptionDescriptors.get.

Gets the OptionDescriptor matching a given option name or null if this option descriptor set does not contain a matching option name.

private static <T extends Throwable> RuntimeException
public Iterator<OptionDescriptor>
iterator()

Implements org.graalvm.options.OptionDescriptors.iterator.

Returns an iterator over elements of type T.

public Spliterator<OptionDescriptor>
spliterator()

Overrides default java.lang.Iterable.spliterator.

Creates a Spliterator over the elements described by this Iterable.

Inherited from org.graalvm.polyglot.impl.ModuleToUnnamedBridge.ModuleToUnnamedOptionDescriptors:
fromOptionDescriptormethodHandleLookup

Field Detail

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

Constructor Detail

ModuleToUnnamedOptionDescriptorsGenback to summary
public ModuleToUnnamedOptionDescriptorsGen(Object receiver)

Method Detail

forEachback to summary
public void forEach(Consumer<? super OptionDescriptor> action_)

Overrides default java.lang.Iterable.forEach.

Doc from java.lang.Iterable.forEach.

Performs the given action for each element of the Iterable until all elements have been processed or the action throws an exception. Actions are performed in the order of iteration, if that order is specified. Exceptions thrown by the action are relayed to the caller.

The behavior of this method is unspecified if the action performs side-effects that modify the underlying source of elements, unless an overriding class has specified a concurrent modification policy.

Parameters
action_:Consumer<? super OptionDescriptor>

The action to be performed for each element

Annotations
@Override
getback to summary
public OptionDescriptor get(String optionName_)

Implements org.graalvm.options.OptionDescriptors.get.

Doc from org.graalvm.options.OptionDescriptors.get.

Gets the OptionDescriptor matching a given option name or null if this option descriptor set does not contain a matching option name.

Annotations
@Override
handleException_back to summary
private static <T extends Throwable> RuntimeException handleException_(Throwable t) throws Throwable-:T
Annotations
@SuppressWarnings:unchecked
iteratorback to summary
public Iterator<OptionDescriptor> iterator()

Implements org.graalvm.options.OptionDescriptors.iterator.

Doc from org.graalvm.options.OptionDescriptors.iterator.

Returns an iterator over elements of type T.

Returns:Iterator<OptionDescriptor>

Doc from java.lang.Iterable.iterator.

an Iterator.

Annotations
@Override
spliteratorback to summary
public Spliterator<OptionDescriptor> spliterator()

Overrides default java.lang.Iterable.spliterator.

Doc from java.lang.Iterable.spliterator.

Creates a Spliterator over the elements described by this Iterable.

Returns:Spliterator<OptionDescriptor>

a Spliterator over the elements described by this Iterable.

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

pack-priv final Class ModuleToUnnamedOptionDescriptorsGen.Handles

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

Field Summary

Modifier and TypeField and Description
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

forEach_back to summary
private final MethodHandle forEach_
get_back to summary
private final MethodHandle get_
iterator_back to summary
private final MethodHandle iterator_
spliterator_back to summary
private final MethodHandle spliterator_

Constructor Detail

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