All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.graalvm.polyglot.impl.UnnamedToModuleValueDispatchGen Maven / Gradle / Ivy

package org.graalvm.polyglot.impl;

import java.lang.invoke.MethodHandle;
import java.lang.invoke.MethodHandles.Lookup;
import java.lang.invoke.MethodType;
import java.lang.reflect.Type;
import java.math.BigInteger;
import java.nio.ByteOrder;
import java.time.Duration;
import java.time.Instant;
import java.time.LocalDate;
import java.time.LocalTime;
import java.time.ZoneId;
import java.util.List;
import java.util.Objects;
import java.util.Set;
import org.graalvm.polyglot.impl.AbstractPolyglotImpl.AbstractValueDispatch;
import org.graalvm.polyglot.impl.UnnamedToModuleBridge.UnnamedToModuleValueDispatch;

/**
 * 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
 */
 final class UnnamedToModuleValueDispatchGen extends UnnamedToModuleValueDispatch {

    private static final Handles HANDLES;
    static {
        Lookup lookup = methodHandleLookup();
        if (lookup != null) {
            try {
                HANDLES = new Handles(lookup);
            } catch (ReflectiveOperationException e) {
                throw new InternalError("Failed to initialize method handles for module bridge.", e);
            }
        } else {
            HANDLES = null;
        }
    }

    final Object receiver;

    public UnnamedToModuleValueDispatchGen(Object receiver) {
        this.receiver = Objects.requireNonNull(receiver);
    }

    @Override
    public BigInteger asBigInteger(Object context_, Object receiver_) {
        try {
            BigInteger result = (BigInteger) HANDLES.asBigInteger_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean asBoolean(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.asBoolean_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public byte asByte(Object context_, Object receiver_) {
        try {
            byte result = (byte) HANDLES.asByte_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public  T asClass(Object context_, Object receiver_, Class targetType_) {
        try {
            T result = (T) HANDLES.asClass_.invoke(receiver, context_, receiver_, targetType_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public LocalDate asDate(Object context_, Object receiver_) {
        try {
            LocalDate result = (LocalDate) HANDLES.asDate_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public double asDouble(Object context_, Object receiver_) {
        try {
            double result = (double) HANDLES.asDouble_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public Duration asDuration(Object context_, Object receiver_) {
        try {
            Duration result = (Duration) HANDLES.asDuration_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public float asFloat(Object context_, Object receiver_) {
        try {
            float result = (float) HANDLES.asFloat_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public Object asHostObject(Object context_, Object receiver_) {
        try {
            Object result = HANDLES.asHostObject_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public Instant asInstant(Object context_, Object receiver_) {
        try {
            Instant result = (Instant) HANDLES.asInstant_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public int asInt(Object context_, Object receiver_) {
        try {
            int result = (int) HANDLES.asInt_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public long asLong(Object context_, Object receiver_) {
        try {
            long result = (long) HANDLES.asLong_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public long asNativePointer(Object context_, Object receiver_) {
        try {
            long result = (long) HANDLES.asNativePointer_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public Object asProxyObject(Object context_, Object receiver_) {
        try {
            Object result = HANDLES.asProxyObject_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public short asShort(Object context_, Object receiver_) {
        try {
            short result = (short) HANDLES.asShort_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public String asString(Object context_, Object receiver_) {
        try {
            String result = (String) HANDLES.asString_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public LocalTime asTime(Object context_, Object receiver_) {
        try {
            LocalTime result = (LocalTime) HANDLES.asTime_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public ZoneId asTimeZone(Object context_, Object receiver_) {
        try {
            ZoneId result = (ZoneId) HANDLES.asTimeZone_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public  T asTypeLiteral(Object context_, Object receiver_, Class rawType_, Type genericType_) {
        try {
            T result = (T) HANDLES.asTypeLiteral_.invoke(receiver, context_, receiver_, rawType_, genericType_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean canExecute(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.canExecute_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean canInstantiate(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.canInstantiate_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean canInvoke(Object context_, String identifier_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.canInvoke_.invoke(receiver, context_, identifier_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean equalsImpl(Object context_, Object receiver_, Object obj_) {
        try {
            boolean result = (boolean) HANDLES.equalsImpl_.invoke(receiver, context_, receiver_, obj_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public Object execute(Object context_, Object receiver_) {
        try {
            Object result = HANDLES.execute_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public Object execute(Object context_, Object receiver_, Object[] arguments_) {
        try {
            Object result = HANDLES.execute1_.invoke(receiver, context_, receiver_, arguments_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public void executeVoid(Object context_, Object receiver_) {
        try {
            HANDLES.executeVoid_.invoke(receiver, context_, receiver_);
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public void executeVoid(Object context_, Object receiver_, Object[] arguments_) {
        try {
            HANDLES.executeVoid1_.invoke(receiver, context_, receiver_, arguments_);
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean fitsInBigInteger(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.fitsInBigInteger_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean fitsInByte(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.fitsInByte_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean fitsInDouble(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.fitsInDouble_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean fitsInFloat(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.fitsInFloat_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean fitsInInt(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.fitsInInt_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean fitsInLong(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.fitsInLong_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean fitsInShort(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.fitsInShort_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public Object getArrayElement(Object context_, Object receiver_, long index_) {
        try {
            Object result = HANDLES.getArrayElement_.invoke(receiver, context_, receiver_, index_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public long getArraySize(Object context_, Object receiver_) {
        try {
            long result = (long) HANDLES.getArraySize_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public long getBufferSize(Object context_, Object receiver_) {
        try {
            long result = (long) HANDLES.getBufferSize_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public Object getContext(Object context_) {
        try {
            Object result = HANDLES.getContext_.invoke(receiver, context_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public Object getHashEntriesIterator(Object context_, Object receiver_) {
        try {
            Object result = HANDLES.getHashEntriesIterator_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public Object getHashKeysIterator(Object context_, Object receiver_) {
        try {
            Object result = HANDLES.getHashKeysIterator_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public long getHashSize(Object context_, Object receiver_) {
        try {
            long result = (long) HANDLES.getHashSize_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public Object getHashValue(Object context_, Object receiver_, Object key_) {
        try {
            Object result = HANDLES.getHashValue_.invoke(receiver, context_, receiver_, key_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public Object getHashValueOrDefault(Object context_, Object receiver_, Object key_, Object defaultValue_) {
        try {
            Object result = HANDLES.getHashValueOrDefault_.invoke(receiver, context_, receiver_, key_, defaultValue_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public Object getHashValuesIterator(Object context_, Object receiver_) {
        try {
            Object result = HANDLES.getHashValuesIterator_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public Object getIterator(Object context_, Object receiver_) {
        try {
            Object result = HANDLES.getIterator_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public Object getIteratorNextElement(Object context_, Object receiver_) {
        try {
            Object result = HANDLES.getIteratorNextElement_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public Object getMember(Object context_, Object receiver_, String key_) {
        try {
            Object result = HANDLES.getMember_.invoke(receiver, context_, receiver_, key_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public Set getMemberKeys(Object context_, Object receiver_) {
        try {
            Set result = (Set) HANDLES.getMemberKeys_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public Object getMetaObject(Object context_, Object receiver_) {
        try {
            Object result = HANDLES.getMetaObject_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public Object getMetaParents(Object context_, Object receiver_) {
        try {
            Object result = HANDLES.getMetaParents_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public String getMetaQualifiedName(Object context_, Object receiver_) {
        try {
            String result = (String) HANDLES.getMetaQualifiedName_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public String getMetaSimpleName(Object context_, Object receiver_) {
        try {
            String result = (String) HANDLES.getMetaSimpleName_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public Object getSourceLocation(Object context_, Object receiver_) {
        try {
            Object result = HANDLES.getSourceLocation_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean hasArrayElements(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.hasArrayElements_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean hasBufferElements(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.hasBufferElements_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean hasHashEntries(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.hasHashEntries_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean hasHashEntry(Object context_, Object receiver_, Object key_) {
        try {
            boolean result = (boolean) HANDLES.hasHashEntry_.invoke(receiver, context_, receiver_, key_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean hasIterator(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.hasIterator_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean hasIteratorNextElement(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.hasIteratorNextElement_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean hasMember(Object context_, Object receiver_, String key_) {
        try {
            boolean result = (boolean) HANDLES.hasMember_.invoke(receiver, context_, receiver_, key_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean hasMembers(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.hasMembers_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean hasMetaParents(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.hasMetaParents_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public int hashCodeImpl(Object context_, Object receiver_) {
        try {
            int result = (int) HANDLES.hashCodeImpl_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public Object invoke(Object context_, Object receiver_, String identifier_) {
        try {
            Object result = HANDLES.invoke_.invoke(receiver, context_, receiver_, identifier_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public Object invoke(Object context_, Object receiver_, String identifier_, Object[] arguments_) {
        try {
            Object result = HANDLES.invoke1_.invoke(receiver, context_, receiver_, identifier_, arguments_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean isBoolean(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.isBoolean_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean isBufferWritable(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.isBufferWritable_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean isDate(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.isDate_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean isDuration(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.isDuration_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean isException(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.isException_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean isHostObject(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.isHostObject_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean isIterator(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.isIterator_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean isMetaInstance(Object context_, Object receiver_, Object instance_) {
        try {
            boolean result = (boolean) HANDLES.isMetaInstance_.invoke(receiver, context_, receiver_, instance_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean isMetaObject(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.isMetaObject_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean isNativePointer(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.isNativePointer_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean isNull(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.isNull_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean isNumber(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.isNumber_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean isProxyObject(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.isProxyObject_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean isString(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.isString_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean isTime(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.isTime_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean isTimeZone(Object context_, Object receiver_) {
        try {
            boolean result = (boolean) HANDLES.isTimeZone_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public Object newInstance(Object context_, Object receiver_, Object[] arguments_) {
        try {
            Object result = HANDLES.newInstance_.invoke(receiver, context_, receiver_, arguments_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public void pin(Object languageContext_, Object receiver_) {
        try {
            HANDLES.pin_.invoke(receiver, languageContext_, receiver_);
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public void putHashEntry(Object context_, Object receiver_, Object key_, Object value_) {
        try {
            HANDLES.putHashEntry_.invoke(receiver, context_, receiver_, key_, value_);
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public void putMember(Object context_, Object receiver_, String key_, Object member_) {
        try {
            HANDLES.putMember_.invoke(receiver, context_, receiver_, key_, member_);
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public byte readBufferByte(Object context_, Object receiver_, long byteOffset_) {
        try {
            byte result = (byte) HANDLES.readBufferByte_.invoke(receiver, context_, receiver_, byteOffset_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public double readBufferDouble(Object context_, Object receiver_, ByteOrder order_, long byteOffset_) {
        try {
            double result = (double) HANDLES.readBufferDouble_.invoke(receiver, context_, receiver_, order_, byteOffset_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public float readBufferFloat(Object context_, Object receiver_, ByteOrder order_, long byteOffset_) {
        try {
            float result = (float) HANDLES.readBufferFloat_.invoke(receiver, context_, receiver_, order_, byteOffset_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public int readBufferInt(Object context_, Object receiver_, ByteOrder order_, long byteOffset_) {
        try {
            int result = (int) HANDLES.readBufferInt_.invoke(receiver, context_, receiver_, order_, byteOffset_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public long readBufferLong(Object context_, Object receiver_, ByteOrder order_, long byteOffset_) {
        try {
            long result = (long) HANDLES.readBufferLong_.invoke(receiver, context_, receiver_, order_, byteOffset_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public short readBufferShort(Object context_, Object receiver_, ByteOrder order_, long byteOffset_) {
        try {
            short result = (short) HANDLES.readBufferShort_.invoke(receiver, context_, receiver_, order_, byteOffset_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean removeArrayElement(Object context_, Object receiver_, long index_) {
        try {
            boolean result = (boolean) HANDLES.removeArrayElement_.invoke(receiver, context_, receiver_, index_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean removeHashEntry(Object context_, Object receiver_, Object key_) {
        try {
            boolean result = (boolean) HANDLES.removeHashEntry_.invoke(receiver, context_, receiver_, key_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public boolean removeMember(Object context_, Object receiver_, String key_) {
        try {
            boolean result = (boolean) HANDLES.removeMember_.invoke(receiver, context_, receiver_, key_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public void setArrayElement(Object context_, Object receiver_, long index_, Object value_) {
        try {
            HANDLES.setArrayElement_.invoke(receiver, context_, receiver_, index_, value_);
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public RuntimeException throwException(Object context_, Object receiver_) {
        try {
            RuntimeException result = (RuntimeException) HANDLES.throwException_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public String toString(Object context_, Object receiver_) {
        try {
            String result = (String) HANDLES.toString_.invoke(receiver, context_, receiver_);
            return result;
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public void writeBufferByte(Object context_, Object receiver_, long byteOffset_, byte value_) {
        try {
            HANDLES.writeBufferByte_.invoke(receiver, context_, receiver_, byteOffset_, value_);
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public void writeBufferDouble(Object context_, Object receiver_, ByteOrder order_, long byteOffset_, double value_) {
        try {
            HANDLES.writeBufferDouble_.invoke(receiver, context_, receiver_, order_, byteOffset_, value_);
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public void writeBufferFloat(Object context_, Object receiver_, ByteOrder order_, long byteOffset_, float value_) {
        try {
            HANDLES.writeBufferFloat_.invoke(receiver, context_, receiver_, order_, byteOffset_, value_);
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public void writeBufferInt(Object context_, Object receiver_, ByteOrder order_, long byteOffset_, int value_) {
        try {
            HANDLES.writeBufferInt_.invoke(receiver, context_, receiver_, order_, byteOffset_, value_);
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public void writeBufferLong(Object context_, Object receiver_, ByteOrder order_, long byteOffset_, long value_) {
        try {
            HANDLES.writeBufferLong_.invoke(receiver, context_, receiver_, order_, byteOffset_, value_);
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @Override
    public void writeBufferShort(Object context_, Object receiver_, ByteOrder order_, long byteOffset_, short value_) {
        try {
            HANDLES.writeBufferShort_.invoke(receiver, context_, receiver_, order_, byteOffset_, value_);
        } catch (Throwable t) {
            throw handleException_(t);
        }
    }

    @SuppressWarnings("unchecked")
    private static  RuntimeException handleException_(Throwable t) throws T {
        throw (T)t;
    }

    static final class Handles extends Object {

        private final MethodHandle asBigInteger_;
        private final MethodHandle asBoolean_;
        private final MethodHandle asByte_;
        private final MethodHandle asClass_;
        private final MethodHandle asDate_;
        private final MethodHandle asDouble_;
        private final MethodHandle asDuration_;
        private final MethodHandle asFloat_;
        private final MethodHandle asHostObject_;
        private final MethodHandle asInstant_;
        private final MethodHandle asInt_;
        private final MethodHandle asLong_;
        private final MethodHandle asNativePointer_;
        private final MethodHandle asProxyObject_;
        private final MethodHandle asShort_;
        private final MethodHandle asString_;
        private final MethodHandle asTime_;
        private final MethodHandle asTimeZone_;
        private final MethodHandle asTypeLiteral_;
        private final MethodHandle canExecute_;
        private final MethodHandle canInstantiate_;
        private final MethodHandle canInvoke_;
        private final MethodHandle equalsImpl_;
        private final MethodHandle execute_;
        private final MethodHandle execute1_;
        private final MethodHandle executeVoid_;
        private final MethodHandle executeVoid1_;
        private final MethodHandle fitsInBigInteger_;
        private final MethodHandle fitsInByte_;
        private final MethodHandle fitsInDouble_;
        private final MethodHandle fitsInFloat_;
        private final MethodHandle fitsInInt_;
        private final MethodHandle fitsInLong_;
        private final MethodHandle fitsInShort_;
        private final MethodHandle getArrayElement_;
        private final MethodHandle getArraySize_;
        private final MethodHandle getBufferSize_;
        private final MethodHandle getContext_;
        private final MethodHandle getHashEntriesIterator_;
        private final MethodHandle getHashKeysIterator_;
        private final MethodHandle getHashSize_;
        private final MethodHandle getHashValue_;
        private final MethodHandle getHashValueOrDefault_;
        private final MethodHandle getHashValuesIterator_;
        private final MethodHandle getIterator_;
        private final MethodHandle getIteratorNextElement_;
        private final MethodHandle getMember_;
        private final MethodHandle getMemberKeys_;
        private final MethodHandle getMetaObject_;
        private final MethodHandle getMetaParents_;
        private final MethodHandle getMetaQualifiedName_;
        private final MethodHandle getMetaSimpleName_;
        private final MethodHandle getSourceLocation_;
        private final MethodHandle hasArrayElements_;
        private final MethodHandle hasBufferElements_;
        private final MethodHandle hasHashEntries_;
        private final MethodHandle hasHashEntry_;
        private final MethodHandle hasIterator_;
        private final MethodHandle hasIteratorNextElement_;
        private final MethodHandle hasMember_;
        private final MethodHandle hasMembers_;
        private final MethodHandle hasMetaParents_;
        private final MethodHandle hashCodeImpl_;
        private final MethodHandle invoke_;
        private final MethodHandle invoke1_;
        private final MethodHandle isBoolean_;
        private final MethodHandle isBufferWritable_;
        private final MethodHandle isDate_;
        private final MethodHandle isDuration_;
        private final MethodHandle isException_;
        private final MethodHandle isHostObject_;
        private final MethodHandle isIterator_;
        private final MethodHandle isMetaInstance_;
        private final MethodHandle isMetaObject_;
        private final MethodHandle isNativePointer_;
        private final MethodHandle isNull_;
        private final MethodHandle isNumber_;
        private final MethodHandle isProxyObject_;
        private final MethodHandle isString_;
        private final MethodHandle isTime_;
        private final MethodHandle isTimeZone_;
        private final MethodHandle newInstance_;
        private final MethodHandle pin_;
        private final MethodHandle putHashEntry_;
        private final MethodHandle putMember_;
        private final MethodHandle readBufferByte_;
        private final MethodHandle readBufferDouble_;
        private final MethodHandle readBufferFloat_;
        private final MethodHandle readBufferInt_;
        private final MethodHandle readBufferLong_;
        private final MethodHandle readBufferShort_;
        private final MethodHandle removeArrayElement_;
        private final MethodHandle removeHashEntry_;
        private final MethodHandle removeMember_;
        private final MethodHandle setArrayElement_;
        private final MethodHandle throwException_;
        private final MethodHandle toString_;
        private final MethodHandle writeBufferByte_;
        private final MethodHandle writeBufferDouble_;
        private final MethodHandle writeBufferFloat_;
        private final MethodHandle writeBufferInt_;
        private final MethodHandle writeBufferLong_;
        private final MethodHandle writeBufferShort_;

        Handles(Lookup lookup) throws ReflectiveOperationException {
            Class typeAbstractValueDispatch = lookup.findClass(AbstractValueDispatch.class.getName());
            this.asBigInteger_ = lookup.findVirtual(typeAbstractValueDispatch, "asBigInteger", MethodType.methodType(BigInteger.class, List.of(Object.class, Object.class)));
            this.asBoolean_ = lookup.findVirtual(typeAbstractValueDispatch, "asBoolean", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.asByte_ = lookup.findVirtual(typeAbstractValueDispatch, "asByte", MethodType.methodType(byte.class, List.of(Object.class, Object.class)));
            this.asClass_ = lookup.findVirtual(typeAbstractValueDispatch, "asClass", MethodType.methodType(Object.class, List.of(Object.class, Object.class, Class.class)));
            this.asDate_ = lookup.findVirtual(typeAbstractValueDispatch, "asDate", MethodType.methodType(LocalDate.class, List.of(Object.class, Object.class)));
            this.asDouble_ = lookup.findVirtual(typeAbstractValueDispatch, "asDouble", MethodType.methodType(double.class, List.of(Object.class, Object.class)));
            this.asDuration_ = lookup.findVirtual(typeAbstractValueDispatch, "asDuration", MethodType.methodType(Duration.class, List.of(Object.class, Object.class)));
            this.asFloat_ = lookup.findVirtual(typeAbstractValueDispatch, "asFloat", MethodType.methodType(float.class, List.of(Object.class, Object.class)));
            this.asHostObject_ = lookup.findVirtual(typeAbstractValueDispatch, "asHostObject", MethodType.methodType(Object.class, List.of(Object.class, Object.class)));
            this.asInstant_ = lookup.findVirtual(typeAbstractValueDispatch, "asInstant", MethodType.methodType(Instant.class, List.of(Object.class, Object.class)));
            this.asInt_ = lookup.findVirtual(typeAbstractValueDispatch, "asInt", MethodType.methodType(int.class, List.of(Object.class, Object.class)));
            this.asLong_ = lookup.findVirtual(typeAbstractValueDispatch, "asLong", MethodType.methodType(long.class, List.of(Object.class, Object.class)));
            this.asNativePointer_ = lookup.findVirtual(typeAbstractValueDispatch, "asNativePointer", MethodType.methodType(long.class, List.of(Object.class, Object.class)));
            this.asProxyObject_ = lookup.findVirtual(typeAbstractValueDispatch, "asProxyObject", MethodType.methodType(Object.class, List.of(Object.class, Object.class)));
            this.asShort_ = lookup.findVirtual(typeAbstractValueDispatch, "asShort", MethodType.methodType(short.class, List.of(Object.class, Object.class)));
            this.asString_ = lookup.findVirtual(typeAbstractValueDispatch, "asString", MethodType.methodType(String.class, List.of(Object.class, Object.class)));
            this.asTime_ = lookup.findVirtual(typeAbstractValueDispatch, "asTime", MethodType.methodType(LocalTime.class, List.of(Object.class, Object.class)));
            this.asTimeZone_ = lookup.findVirtual(typeAbstractValueDispatch, "asTimeZone", MethodType.methodType(ZoneId.class, List.of(Object.class, Object.class)));
            this.asTypeLiteral_ = lookup.findVirtual(typeAbstractValueDispatch, "asTypeLiteral", MethodType.methodType(Object.class, List.of(Object.class, Object.class, Class.class, Type.class)));
            this.canExecute_ = lookup.findVirtual(typeAbstractValueDispatch, "canExecute", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.canInstantiate_ = lookup.findVirtual(typeAbstractValueDispatch, "canInstantiate", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.canInvoke_ = lookup.findVirtual(typeAbstractValueDispatch, "canInvoke", MethodType.methodType(boolean.class, List.of(Object.class, String.class, Object.class)));
            this.equalsImpl_ = lookup.findVirtual(typeAbstractValueDispatch, "equalsImpl", MethodType.methodType(boolean.class, List.of(Object.class, Object.class, Object.class)));
            this.execute_ = lookup.findVirtual(typeAbstractValueDispatch, "execute", MethodType.methodType(Object.class, List.of(Object.class, Object.class)));
            this.execute1_ = lookup.findVirtual(typeAbstractValueDispatch, "execute", MethodType.methodType(Object.class, List.of(Object.class, Object.class, Object[].class)));
            this.executeVoid_ = lookup.findVirtual(typeAbstractValueDispatch, "executeVoid", MethodType.methodType(void.class, List.of(Object.class, Object.class)));
            this.executeVoid1_ = lookup.findVirtual(typeAbstractValueDispatch, "executeVoid", MethodType.methodType(void.class, List.of(Object.class, Object.class, Object[].class)));
            this.fitsInBigInteger_ = lookup.findVirtual(typeAbstractValueDispatch, "fitsInBigInteger", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.fitsInByte_ = lookup.findVirtual(typeAbstractValueDispatch, "fitsInByte", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.fitsInDouble_ = lookup.findVirtual(typeAbstractValueDispatch, "fitsInDouble", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.fitsInFloat_ = lookup.findVirtual(typeAbstractValueDispatch, "fitsInFloat", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.fitsInInt_ = lookup.findVirtual(typeAbstractValueDispatch, "fitsInInt", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.fitsInLong_ = lookup.findVirtual(typeAbstractValueDispatch, "fitsInLong", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.fitsInShort_ = lookup.findVirtual(typeAbstractValueDispatch, "fitsInShort", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.getArrayElement_ = lookup.findVirtual(typeAbstractValueDispatch, "getArrayElement", MethodType.methodType(Object.class, List.of(Object.class, Object.class, long.class)));
            this.getArraySize_ = lookup.findVirtual(typeAbstractValueDispatch, "getArraySize", MethodType.methodType(long.class, List.of(Object.class, Object.class)));
            this.getBufferSize_ = lookup.findVirtual(typeAbstractValueDispatch, "getBufferSize", MethodType.methodType(long.class, List.of(Object.class, Object.class)));
            this.getContext_ = lookup.findVirtual(typeAbstractValueDispatch, "getContext", MethodType.methodType(Object.class, List.of(Object.class)));
            this.getHashEntriesIterator_ = lookup.findVirtual(typeAbstractValueDispatch, "getHashEntriesIterator", MethodType.methodType(Object.class, List.of(Object.class, Object.class)));
            this.getHashKeysIterator_ = lookup.findVirtual(typeAbstractValueDispatch, "getHashKeysIterator", MethodType.methodType(Object.class, List.of(Object.class, Object.class)));
            this.getHashSize_ = lookup.findVirtual(typeAbstractValueDispatch, "getHashSize", MethodType.methodType(long.class, List.of(Object.class, Object.class)));
            this.getHashValue_ = lookup.findVirtual(typeAbstractValueDispatch, "getHashValue", MethodType.methodType(Object.class, List.of(Object.class, Object.class, Object.class)));
            this.getHashValueOrDefault_ = lookup.findVirtual(typeAbstractValueDispatch, "getHashValueOrDefault", MethodType.methodType(Object.class, List.of(Object.class, Object.class, Object.class, Object.class)));
            this.getHashValuesIterator_ = lookup.findVirtual(typeAbstractValueDispatch, "getHashValuesIterator", MethodType.methodType(Object.class, List.of(Object.class, Object.class)));
            this.getIterator_ = lookup.findVirtual(typeAbstractValueDispatch, "getIterator", MethodType.methodType(Object.class, List.of(Object.class, Object.class)));
            this.getIteratorNextElement_ = lookup.findVirtual(typeAbstractValueDispatch, "getIteratorNextElement", MethodType.methodType(Object.class, List.of(Object.class, Object.class)));
            this.getMember_ = lookup.findVirtual(typeAbstractValueDispatch, "getMember", MethodType.methodType(Object.class, List.of(Object.class, Object.class, String.class)));
            this.getMemberKeys_ = lookup.findVirtual(typeAbstractValueDispatch, "getMemberKeys", MethodType.methodType(Set.class, List.of(Object.class, Object.class)));
            this.getMetaObject_ = lookup.findVirtual(typeAbstractValueDispatch, "getMetaObject", MethodType.methodType(Object.class, List.of(Object.class, Object.class)));
            this.getMetaParents_ = lookup.findVirtual(typeAbstractValueDispatch, "getMetaParents", MethodType.methodType(Object.class, List.of(Object.class, Object.class)));
            this.getMetaQualifiedName_ = lookup.findVirtual(typeAbstractValueDispatch, "getMetaQualifiedName", MethodType.methodType(String.class, List.of(Object.class, Object.class)));
            this.getMetaSimpleName_ = lookup.findVirtual(typeAbstractValueDispatch, "getMetaSimpleName", MethodType.methodType(String.class, List.of(Object.class, Object.class)));
            this.getSourceLocation_ = lookup.findVirtual(typeAbstractValueDispatch, "getSourceLocation", MethodType.methodType(Object.class, List.of(Object.class, Object.class)));
            this.hasArrayElements_ = lookup.findVirtual(typeAbstractValueDispatch, "hasArrayElements", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.hasBufferElements_ = lookup.findVirtual(typeAbstractValueDispatch, "hasBufferElements", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.hasHashEntries_ = lookup.findVirtual(typeAbstractValueDispatch, "hasHashEntries", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.hasHashEntry_ = lookup.findVirtual(typeAbstractValueDispatch, "hasHashEntry", MethodType.methodType(boolean.class, List.of(Object.class, Object.class, Object.class)));
            this.hasIterator_ = lookup.findVirtual(typeAbstractValueDispatch, "hasIterator", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.hasIteratorNextElement_ = lookup.findVirtual(typeAbstractValueDispatch, "hasIteratorNextElement", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.hasMember_ = lookup.findVirtual(typeAbstractValueDispatch, "hasMember", MethodType.methodType(boolean.class, List.of(Object.class, Object.class, String.class)));
            this.hasMembers_ = lookup.findVirtual(typeAbstractValueDispatch, "hasMembers", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.hasMetaParents_ = lookup.findVirtual(typeAbstractValueDispatch, "hasMetaParents", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.hashCodeImpl_ = lookup.findVirtual(typeAbstractValueDispatch, "hashCodeImpl", MethodType.methodType(int.class, List.of(Object.class, Object.class)));
            this.invoke_ = lookup.findVirtual(typeAbstractValueDispatch, "invoke", MethodType.methodType(Object.class, List.of(Object.class, Object.class, String.class)));
            this.invoke1_ = lookup.findVirtual(typeAbstractValueDispatch, "invoke", MethodType.methodType(Object.class, List.of(Object.class, Object.class, String.class, Object[].class)));
            this.isBoolean_ = lookup.findVirtual(typeAbstractValueDispatch, "isBoolean", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.isBufferWritable_ = lookup.findVirtual(typeAbstractValueDispatch, "isBufferWritable", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.isDate_ = lookup.findVirtual(typeAbstractValueDispatch, "isDate", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.isDuration_ = lookup.findVirtual(typeAbstractValueDispatch, "isDuration", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.isException_ = lookup.findVirtual(typeAbstractValueDispatch, "isException", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.isHostObject_ = lookup.findVirtual(typeAbstractValueDispatch, "isHostObject", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.isIterator_ = lookup.findVirtual(typeAbstractValueDispatch, "isIterator", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.isMetaInstance_ = lookup.findVirtual(typeAbstractValueDispatch, "isMetaInstance", MethodType.methodType(boolean.class, List.of(Object.class, Object.class, Object.class)));
            this.isMetaObject_ = lookup.findVirtual(typeAbstractValueDispatch, "isMetaObject", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.isNativePointer_ = lookup.findVirtual(typeAbstractValueDispatch, "isNativePointer", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.isNull_ = lookup.findVirtual(typeAbstractValueDispatch, "isNull", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.isNumber_ = lookup.findVirtual(typeAbstractValueDispatch, "isNumber", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.isProxyObject_ = lookup.findVirtual(typeAbstractValueDispatch, "isProxyObject", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.isString_ = lookup.findVirtual(typeAbstractValueDispatch, "isString", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.isTime_ = lookup.findVirtual(typeAbstractValueDispatch, "isTime", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.isTimeZone_ = lookup.findVirtual(typeAbstractValueDispatch, "isTimeZone", MethodType.methodType(boolean.class, List.of(Object.class, Object.class)));
            this.newInstance_ = lookup.findVirtual(typeAbstractValueDispatch, "newInstance", MethodType.methodType(Object.class, List.of(Object.class, Object.class, Object[].class)));
            this.pin_ = lookup.findVirtual(typeAbstractValueDispatch, "pin", MethodType.methodType(void.class, List.of(Object.class, Object.class)));
            this.putHashEntry_ = lookup.findVirtual(typeAbstractValueDispatch, "putHashEntry", MethodType.methodType(void.class, List.of(Object.class, Object.class, Object.class, Object.class)));
            this.putMember_ = lookup.findVirtual(typeAbstractValueDispatch, "putMember", MethodType.methodType(void.class, List.of(Object.class, Object.class, String.class, Object.class)));
            this.readBufferByte_ = lookup.findVirtual(typeAbstractValueDispatch, "readBufferByte", MethodType.methodType(byte.class, List.of(Object.class, Object.class, long.class)));
            this.readBufferDouble_ = lookup.findVirtual(typeAbstractValueDispatch, "readBufferDouble", MethodType.methodType(double.class, List.of(Object.class, Object.class, ByteOrder.class, long.class)));
            this.readBufferFloat_ = lookup.findVirtual(typeAbstractValueDispatch, "readBufferFloat", MethodType.methodType(float.class, List.of(Object.class, Object.class, ByteOrder.class, long.class)));
            this.readBufferInt_ = lookup.findVirtual(typeAbstractValueDispatch, "readBufferInt", MethodType.methodType(int.class, List.of(Object.class, Object.class, ByteOrder.class, long.class)));
            this.readBufferLong_ = lookup.findVirtual(typeAbstractValueDispatch, "readBufferLong", MethodType.methodType(long.class, List.of(Object.class, Object.class, ByteOrder.class, long.class)));
            this.readBufferShort_ = lookup.findVirtual(typeAbstractValueDispatch, "readBufferShort", MethodType.methodType(short.class, List.of(Object.class, Object.class, ByteOrder.class, long.class)));
            this.removeArrayElement_ = lookup.findVirtual(typeAbstractValueDispatch, "removeArrayElement", MethodType.methodType(boolean.class, List.of(Object.class, Object.class, long.class)));
            this.removeHashEntry_ = lookup.findVirtual(typeAbstractValueDispatch, "removeHashEntry", MethodType.methodType(boolean.class, List.of(Object.class, Object.class, Object.class)));
            this.removeMember_ = lookup.findVirtual(typeAbstractValueDispatch, "removeMember", MethodType.methodType(boolean.class, List.of(Object.class, Object.class, String.class)));
            this.setArrayElement_ = lookup.findVirtual(typeAbstractValueDispatch, "setArrayElement", MethodType.methodType(void.class, List.of(Object.class, Object.class, long.class, Object.class)));
            this.throwException_ = lookup.findVirtual(typeAbstractValueDispatch, "throwException", MethodType.methodType(RuntimeException.class, List.of(Object.class, Object.class)));
            this.toString_ = lookup.findVirtual(typeAbstractValueDispatch, "toString", MethodType.methodType(String.class, List.of(Object.class, Object.class)));
            this.writeBufferByte_ = lookup.findVirtual(typeAbstractValueDispatch, "writeBufferByte", MethodType.methodType(void.class, List.of(Object.class, Object.class, long.class, byte.class)));
            this.writeBufferDouble_ = lookup.findVirtual(typeAbstractValueDispatch, "writeBufferDouble", MethodType.methodType(void.class, List.of(Object.class, Object.class, ByteOrder.class, long.class, double.class)));
            this.writeBufferFloat_ = lookup.findVirtual(typeAbstractValueDispatch, "writeBufferFloat", MethodType.methodType(void.class, List.of(Object.class, Object.class, ByteOrder.class, long.class, float.class)));
            this.writeBufferInt_ = lookup.findVirtual(typeAbstractValueDispatch, "writeBufferInt", MethodType.methodType(void.class, List.of(Object.class, Object.class, ByteOrder.class, long.class, int.class)));
            this.writeBufferLong_ = lookup.findVirtual(typeAbstractValueDispatch, "writeBufferLong", MethodType.methodType(void.class, List.of(Object.class, Object.class, ByteOrder.class, long.class, long.class)));
            this.writeBufferShort_ = lookup.findVirtual(typeAbstractValueDispatch, "writeBufferShort", MethodType.methodType(void.class, List.of(Object.class, Object.class, ByteOrder.class, long.class, short.class)));
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy