Package io.quarkus.gizmo
Class BranchResultImpl
- java.lang.Object
-
- io.quarkus.gizmo.BranchResultImpl
-
- All Implemented Interfaces:
BranchResult
class BranchResultImpl extends java.lang.Object implements BranchResult
-
-
Field Summary
Fields Modifier and Type Field Description private BytecodeCreatorfalseBranchprivate BytecodeCreatortrueBranch
-
Constructor Summary
Constructors Constructor Description BranchResultImpl(BytecodeCreator trueBranch, BytecodeCreator falseBranch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BytecodeCreatorfalseBranch()BytecodeCreatortrueBranch()
-
-
-
Field Detail
-
trueBranch
private final BytecodeCreator trueBranch
-
falseBranch
private final BytecodeCreator falseBranch
-
-
Constructor Detail
-
BranchResultImpl
BranchResultImpl(BytecodeCreator trueBranch, BytecodeCreator falseBranch)
-
-
Method Detail
-
trueBranch
public BytecodeCreator trueBranch()
- Specified by:
trueBranchin interfaceBranchResult- Returns:
- A
BytecodeCreatorthat is used to construct the true branch
-
falseBranch
public BytecodeCreator falseBranch()
- Specified by:
falseBranchin interfaceBranchResult- Returns:
- A
BytecodeCreatorthat is used to construct the false branch
-
-