Package io.quarkus.gizmo
Class BytecodeCreatorImpl.IfOperation
java.lang.Object
io.quarkus.gizmo.BytecodeCreatorImpl.Operation
io.quarkus.gizmo.BytecodeCreatorImpl.IfOperation
- Enclosing class:
BytecodeCreatorImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BytecodeCreatorImplprivate final intprivate final Stringprivate final BytecodeCreatorImplprivate final ResultHandleprivate final ResultHandle -
Constructor Summary
ConstructorsConstructorDescriptionIfOperation(int opcode, String opType, ResultHandle value, BytecodeCreatorImpl trueBranch, BytecodeCreatorImpl falseBranch) IfOperation(int opcode, String opType, ResultHandle value1, ResultHandle value2, BytecodeCreatorImpl trueBranch, BytecodeCreatorImpl falseBranch) -
Method Summary
Modifier and TypeMethodDescriptionvoid(package private) Set<ResultHandle> Gets all result handles that are used as input to this operation(package private) ResultHandle(package private) ResultHandlevoidwriteBytecode(org.objectweb.asm.MethodVisitor methodVisitor) Methods inherited from class io.quarkus.gizmo.BytecodeCreatorImpl.Operation
doProcess
-
Field Details
-
opcode
private final int opcode -
opType
-
value1
-
value2
-
trueBranch
-
falseBranch
-
-
Constructor Details
-
IfOperation
IfOperation(int opcode, String opType, ResultHandle value, BytecodeCreatorImpl trueBranch, BytecodeCreatorImpl falseBranch) -
IfOperation
IfOperation(int opcode, String opType, ResultHandle value1, ResultHandle value2, BytecodeCreatorImpl trueBranch, BytecodeCreatorImpl falseBranch)
-
-
Method Details
-
writeBytecode
public void writeBytecode(org.objectweb.asm.MethodVisitor methodVisitor) - Specified by:
writeBytecodein classBytecodeCreatorImpl.Operation
-
getInputResultHandles
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
-
findResultHandles
- Overrides:
findResultHandlesin classBytecodeCreatorImpl.Operation
-