Package io.quarkus.gizmo
Class ResultHandle
java.lang.Object
io.quarkus.gizmo.ResultHandle
- Direct Known Subclasses:
AssignableResultHandle
Represents the result of an operation. Generally this will be the result of a method
that has been stored in a local variable, but it can also be other things, such as a read
from a field.
These result handles are tied to a specific MethodCreator.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Objectprivate int(package private) static final ResultHandleprivate final BytecodeCreatorImplprivate ResultHandle.ResultTypeprivate final String -
Constructor Summary
ConstructorsConstructorDescriptionResultHandle(String type, BytecodeCreatorImpl owner) ResultHandle(String type, BytecodeCreatorImpl owner, Object constant) -
Method Summary
Modifier and TypeMethodDescription(package private) intgetNo()(package private) BytecodeCreatorImplgetOwner()(package private) StringgetType()(package private) voidvoidsetNo(int no) toString()private voidverifyType(String current)
-
Field Details
-
NULL
-
no
private int no -
type
-
owner
-
constant
-
resultType
-
-
Constructor Details
-
ResultHandle
ResultHandle(String type, BytecodeCreatorImpl owner) -
ResultHandle
ResultHandle(String type, BytecodeCreatorImpl owner, Object constant)
-
-
Method Details
-
verifyType
-
setNo
public void setNo(int no) -
getResultType
-
getNo
int getNo() -
markSingleUse
void markSingleUse() -
getType
String getType() -
getOwner
BytecodeCreatorImpl getOwner() -
toString
-
getConstant
-