APIdia Launch Partner
Top Description Fields Constructors Methods
java.lang.invoke

pack-priv final Class SimpleMethodHandle

extends BoundMethodHandle
Class Inheritance
Annotations
@AOTSafeClassInitializer
Imports
jdk.internal.vm.annotation.AOTSafeClassInitializer, .Stable

A method handle whose behavior is determined only by its LambdaForm. Access to SimpleMethodHandle should ensure BoundMethodHandle is initialized first.
Author
jrose

Field Summary

Modifier and TypeField and Description
pack-priv static BoundMethodHandle.SpeciesData
Inherited from java.lang.invoke.BoundMethodHandle:
SPECIALIZER

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv BoundMethodHandle
copyWith(MethodType mt, LambdaForm lf)

Implements abstract java.lang.invoke.BoundMethodHandle.copyWith.

/ Method handle implementation methods.

pack-priv final BoundMethodHandle
pack-priv final BoundMethodHandle
pack-priv final BoundMethodHandle
pack-priv final BoundMethodHandle
pack-priv final BoundMethodHandle
pack-priv String
pack-priv static BoundMethodHandle
pack-priv BoundMethodHandle.SpeciesData
speciesData()

Implements abstract java.lang.invoke.BoundMethodHandle.speciesData.

Return the BoundMethodHandle.SpeciesData instance representing this BMH species.

Inherited from java.lang.invoke.BoundMethodHandle:
argbindArgumentDbindArgumentFbindArgumentIbindArgumentJbindArgumentLbindSingleDbindSingleFbindSingleIbindSingleJbindSingleLeditorfieldCountinternalPropertiesinternalValuesmakeReinvokerrebindspeciesData_LspeciesData_LLspeciesData_LLLspeciesData_LLLLspeciesData_LLLLLspeciesDataFor

Field Detail

BMH_SPECIESback to summary
pack-priv static BoundMethodHandle.SpeciesData BMH_SPECIES
Annotations
@Stable

Constructor Detail

SimpleMethodHandleback to summary
private SimpleMethodHandle(MethodType type, LambdaForm form)

Method Detail

copyWithback to summary
pack-priv BoundMethodHandle copyWith(MethodType mt, LambdaForm lf)

Implements abstract java.lang.invoke.BoundMethodHandle.copyWith.

Doc from java.lang.invoke.MethodHandle.copyWith.

/ Method handle implementation methods. / Sub-classes can override these default implementations. / All these methods assume arguments are already validated.

Annotations
@Override
copyWithExtendDback to summary
pack-priv final BoundMethodHandle copyWithExtendD(MethodType mt, LambdaForm lf, double narg)

Implements abstract java.lang.invoke.BoundMethodHandle.copyWithExtendD.

Annotations
@Override
copyWithExtendFback to summary
pack-priv final BoundMethodHandle copyWithExtendF(MethodType mt, LambdaForm lf, float narg)

Implements abstract java.lang.invoke.BoundMethodHandle.copyWithExtendF.

Annotations
@Override
copyWithExtendIback to summary
pack-priv final BoundMethodHandle copyWithExtendI(MethodType mt, LambdaForm lf, int narg)

Implements abstract java.lang.invoke.BoundMethodHandle.copyWithExtendI.

Annotations
@Override
copyWithExtendJback to summary
pack-priv final BoundMethodHandle copyWithExtendJ(MethodType mt, LambdaForm lf, long narg)

Implements abstract java.lang.invoke.BoundMethodHandle.copyWithExtendJ.

Annotations
@Override
copyWithExtendLback to summary
pack-priv final BoundMethodHandle copyWithExtendL(MethodType mt, LambdaForm lf, Object narg)

Implements abstract java.lang.invoke.BoundMethodHandle.copyWithExtendL.

Annotations
@Override
internalPropertiesback to summary
pack-priv String internalProperties()

Overrides java.lang.invoke.MethodHandle.internalProperties.

Annotations
@Override
makeback to summary
pack-priv static BoundMethodHandle make(MethodType type, LambdaForm form)
speciesDataback to summary
pack-priv BoundMethodHandle.SpeciesData speciesData()

Implements abstract java.lang.invoke.BoundMethodHandle.speciesData.

Doc from java.lang.invoke.BoundMethodHandle.speciesData.

Return the BoundMethodHandle.SpeciesData instance representing this BMH species. All subclasses must provide a static field containing this value, and they must accordingly implement this method.

Annotations
@Override