Package io.quarkus.deployment.recording
Class BytecodeRecorderImpl.DeferredArrayStoreParameter
java.lang.Object
io.quarkus.deployment.recording.BytecodeRecorderImpl.DeferredParameter
io.quarkus.deployment.recording.BytecodeRecorderImpl.DeferredArrayStoreParameter
- Direct Known Subclasses:
BytecodeRecorderImpl.NewRecorder
- Enclosing class:
- BytecodeRecorderImpl
abstract class BytecodeRecorderImpl.DeferredArrayStoreParameter
extends BytecodeRecorderImpl.DeferredParameter
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int(package private) io.quarkus.gizmo.ResultHandle(package private) io.quarkus.gizmo.ResultHandle(package private) io.quarkus.gizmo.MethodCreator(package private) final StringFields inherited from class io.quarkus.deployment.recording.BytecodeRecorderImpl.DeferredParameter
prepared -
Constructor Summary
ConstructorsConstructorDescriptionDeferredArrayStoreParameter(Object target, Class<?> expectedType) DeferredArrayStoreParameter(String expectedType) -
Method Summary
Modifier and TypeMethodDescription(package private) abstract io.quarkus.gizmo.ResultHandlecreateValue(BytecodeRecorderImpl.MethodContext context, io.quarkus.gizmo.MethodCreator method, io.quarkus.gizmo.ResultHandle array) method that contains the logic to actually create the stored value(package private) final io.quarkus.gizmo.ResultHandledoLoad(BytecodeRecorderImpl.MethodContext context, io.quarkus.gizmo.MethodCreator method, io.quarkus.gizmo.ResultHandle array) The function that is called to read the value for use.(package private) voidMethods inherited from class io.quarkus.deployment.recording.BytecodeRecorderImpl.DeferredParameter
prepare
-
Field Details
-
arrayIndex
int arrayIndex -
returnType
-
originalResultHandle
io.quarkus.gizmo.ResultHandle originalResultHandle -
originalArrayResultHandle
io.quarkus.gizmo.ResultHandle originalArrayResultHandle -
originalRhMethod
io.quarkus.gizmo.MethodCreator originalRhMethod
-
-
Constructor Details
-
DeferredArrayStoreParameter
DeferredArrayStoreParameter(String expectedType) -
DeferredArrayStoreParameter
-
-
Method Details
-
createValue
abstract io.quarkus.gizmo.ResultHandle createValue(BytecodeRecorderImpl.MethodContext context, io.quarkus.gizmo.MethodCreator method, io.quarkus.gizmo.ResultHandle array) method that contains the logic to actually create the stored value -
doPrepare
- Overrides:
doPreparein classBytecodeRecorderImpl.DeferredParameter
-
doLoad
final io.quarkus.gizmo.ResultHandle doLoad(BytecodeRecorderImpl.MethodContext context, io.quarkus.gizmo.MethodCreator method, io.quarkus.gizmo.ResultHandle array) Description copied from class:BytecodeRecorderImpl.DeferredParameterThe function that is called to read the value for use. This may be by reading the value from the Object[] array, or is can be a direct ldc instruction in the case of primitives.Code in this method is run in a single instruction group, so large objects should be serialized in the
BytecodeRecorderImpl.DeferredParameter.doPrepare(MethodContext)method insteadThis should not be called directly, but by
BytecodeRecorderImpl.SplitMethodContext.loadDeferred(DeferredParameter)- Specified by:
doLoadin classBytecodeRecorderImpl.DeferredParameter
-