Package io.quarkus.gizmo
Class BytecodeCreatorImpl.NewInstanceOperation
- java.lang.Object
-
- io.quarkus.gizmo.BytecodeCreatorImpl.Operation
-
- io.quarkus.gizmo.BytecodeCreatorImpl.NewInstanceOperation
-
- Enclosing class:
- BytecodeCreatorImpl
class BytecodeCreatorImpl.NewInstanceOperation extends BytecodeCreatorImpl.Operation
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ResultHandle[]args(package private) MethodDescriptordescriptor(package private) ResultHandleresultHandle
-
Constructor Summary
Constructors Constructor Description NewInstanceOperation(ResultHandle resultHandle, MethodDescriptor descriptor, ResultHandle[] args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.util.Set<ResultHandle>getInputResultHandles()Gets all result handles that are used as input to this operation(package private) ResultHandlegetOutgoingResultHandle()(package private) ResultHandlegetTopResultHandle()voidwriteBytecode(org.objectweb.asm.MethodVisitor methodVisitor)-
Methods inherited from class io.quarkus.gizmo.BytecodeCreatorImpl.Operation
doProcess, findResultHandles
-
-
-
-
Field Detail
-
resultHandle
final ResultHandle resultHandle
-
descriptor
final MethodDescriptor descriptor
-
args
final ResultHandle[] args
-
-
Constructor Detail
-
NewInstanceOperation
NewInstanceOperation(ResultHandle resultHandle, MethodDescriptor descriptor, ResultHandle[] args)
-
-
Method Detail
-
writeBytecode
public void writeBytecode(org.objectweb.asm.MethodVisitor methodVisitor)
- Specified by:
writeBytecodein classBytecodeCreatorImpl.Operation
-
getInputResultHandles
java.util.Set<ResultHandle> getInputResultHandles()
Description copied from class:BytecodeCreatorImpl.OperationGets all result handles that are used as input to this operation- Specified by:
getInputResultHandlesin classBytecodeCreatorImpl.Operation- Returns:
- The result handles
-
getTopResultHandle
ResultHandle getTopResultHandle()
- Specified by:
getTopResultHandlein classBytecodeCreatorImpl.Operation- Returns:
- The incoming result handle that is first loaded into the stack, or null if this is not applicable
-
getOutgoingResultHandle
ResultHandle getOutgoingResultHandle()
- Specified by:
getOutgoingResultHandlein classBytecodeCreatorImpl.Operation- Returns:
- The result handle that is created as a result of this operation
-
-