Uses of Class
io.quarkus.gizmo.ResultHandle
-
-
Uses of ResultHandle in io.quarkus.gizmo
Subclasses of ResultHandle in io.quarkus.gizmo Modifier and Type Class Description classAssignableResultHandleA result handle that can be assigned to (also known as an "lvalue").Fields in io.quarkus.gizmo declared as ResultHandle Modifier and Type Field Description (package private) ResultHandle[]BytecodeCreatorImpl.InvokeOperation. args(package private) ResultHandle[]BytecodeCreatorImpl.NewInstanceOperation. argsprivate ResultHandleBytecodeCreatorImpl. cachedTcclprivate ResultHandleForEachLoopImpl. elementprivate ResultHandleCatchBlockCreatorImpl. handleprivate ResultHandleFunctionCreatorImpl. instanceprotected ResultHandleGizmo.InstanceInvocationGenerator. instanceprivate ResultHandleGizmo.StringBuilderGenerator. instance(package private) static ResultHandleResultHandle. NULL(package private) ResultHandleBytecodeCreatorImpl.InvokeOperation. objectprivate ResultHandleBytecodeCreatorImpl.AssignOperation. resolvedTargetprivate ResultHandleBytecodeCreatorImpl.AssignOperation. resolvedValue(package private) ResultHandleBytecodeCreatorImpl.InvokeOperation. resultHandle(package private) ResultHandleBytecodeCreatorImpl.NewInstanceOperation. resultHandle(package private) ResultHandleFunctionCreatorImpl.CapturedResultHandle. substituteprivate ResultHandleBytecodeCreatorImpl.IfOperation. value1private ResultHandleBytecodeCreatorImpl.IfOperation. value2Fields in io.quarkus.gizmo with type parameters of type ResultHandle Modifier and Type Field Description private java.util.Map<ResultHandle,FunctionCreatorImpl.CapturedResultHandle>FunctionCreatorImpl. capturedResultHandlesprivate java.util.function.BiFunction<BytecodeCreator,ResultHandle[],ResultHandle>Gizmo.CustomInvocationGenerator. funMethods in io.quarkus.gizmo with type parameters of type ResultHandle Modifier and Type Method Description (package private) <R extends ResultHandle>
RBytecodeCreatorImpl. checkScope(R handle)Methods in io.quarkus.gizmo that return ResultHandle Modifier and Type Method Description ResultHandleBytecodeCreator. add(ResultHandle a1, ResultHandle a2)Adds the two result handles together and returns the resultResultHandleBytecodeCreatorImpl. add(ResultHandle a1, ResultHandle a2)ResultHandleGizmo.JdkCollection.JdkCollectionInstance. add(ResultHandle element)ResultHandleGizmo.JdkCollection.JdkCollectionInstance. addAll(ResultHandle collection)private ResultHandleBytecodeCreatorImpl. allocateResult(java.lang.String returnType)ResultHandleBytecodeCreator. arrayLength(ResultHandle array)ResultHandleBytecodeCreatorImpl. arrayLength(ResultHandle array)ResultHandleBytecodeCreator. bitwiseAnd(ResultHandle a1, ResultHandle a2)Computes the bitwise AND of the two result handles and returns the resultResultHandleBytecodeCreatorImpl. bitwiseAnd(ResultHandle a1, ResultHandle a2)ResultHandleBytecodeCreator. bitwiseOr(ResultHandle a1, ResultHandle a2)Computes the bitwise OR of the two result handles and returns the resultResultHandleBytecodeCreatorImpl. bitwiseOr(ResultHandle a1, ResultHandle a2)ResultHandleBytecodeCreator. bitwiseXor(ResultHandle a1, ResultHandle a2)Computes the bitwise XOR of the two result handles and returns the resultResultHandleBytecodeCreatorImpl. bitwiseXor(ResultHandle a1, ResultHandle a2)protected ResultHandleClassTransfromerMethodCreatorImpl.ClassTransformerEnumSwitchImpl. callSwitchTableMethod(java.lang.String methodName, java.lang.Class<E> enumClass, MethodDescriptor enumOrdinal)protected ResultHandleEnumSwitchImpl. callSwitchTableMethod(java.lang.String methodName, java.lang.Class<E> enumClass, MethodDescriptor enumOrdinal)ResultHandleGizmo.StringBuilderGenerator. callToString()default ResultHandleBytecodeCreator. checkCast(ResultHandle resultHandle, java.lang.Class<?> castTarget)Perform a check cast operation which transforms the type of the given result handle.ResultHandleBytecodeCreator. checkCast(ResultHandle resultHandle, java.lang.String castTarget)Perform a check cast operation which transforms the type of the given result handle.ResultHandleBytecodeCreatorImpl. checkCast(ResultHandle resultHandle, java.lang.String castTarget)(package private) ResultHandle[]BytecodeCreatorImpl. checkScope(ResultHandle[] handles)ResultHandleBytecodeCreator. compareDouble(ResultHandle value1, ResultHandle value2, boolean nanComparesAsGreater)Compares twodoublevalues and pushes the resulting integer to the stack.ResultHandleBytecodeCreatorImpl. compareDouble(ResultHandle value1, ResultHandle value2, boolean nanComparesAsGreater)ResultHandleBytecodeCreator. compareFloat(ResultHandle value1, ResultHandle value2, boolean nanComparesAsGreater)Compares twofloatvalues and pushes the resulting integer to the stack.ResultHandleBytecodeCreatorImpl. compareFloat(ResultHandle value1, ResultHandle value2, boolean nanComparesAsGreater)ResultHandleBytecodeCreator. compareLong(ResultHandle value1, ResultHandle value2)Compares twolongvalues and pushes the resulting integer to the stack.ResultHandleBytecodeCreatorImpl. compareLong(ResultHandle value1, ResultHandle value2)ResultHandleGizmo.JdkCollection.JdkCollectionInstance. contains(ResultHandle obj)ResultHandleGizmo.JdkMap.JdkMapInstance. containsKey(ResultHandle key)ResultHandleBytecodeCreator. convertPrimitive(ResultHandle value, java.lang.Class<?> conversionTarget)Converts givenvalue, which must be of a primitive type, to the givenconversionTarget, which must be a primitive type, using primitive conversions defined by the Java language specification.ResultHandleBytecodeCreatorImpl. convertPrimitive(ResultHandle value, java.lang.Class<?> conversionTarget)ResultHandleGizmo.JdkList. copyOf(ResultHandle collection)ResultHandleGizmo.JdkMap. copyOf(ResultHandle map)ResultHandleGizmo.JdkSet. copyOf(ResultHandle collection)ResultHandleBytecodeCreator. divide(ResultHandle a1, ResultHandle a2)Divides the first result handle by the second and returns the resultResultHandleBytecodeCreatorImpl. divide(ResultHandle a1, ResultHandle a2)ResultHandleForEachLoop. element()ResultHandleForEachLoopImpl. element()private ResultHandleBytecodeCreatorImpl. emitBinaryArithmetic(int intOpcode, ResultHandle a1, ResultHandle a2)private ResultHandleBytecodeCreatorImpl. emitCompare(int opcode, java.lang.String expectedType, ResultHandle value1, ResultHandle value2)static ResultHandleGizmo. equals(BytecodeCreator target, ResultHandle obj1, ResultHandle obj2)Generates the bytecode that callsObject.equals(Object).protected ResultHandleEnumSwitchImpl. generateSwitchTable(java.lang.Class<E> enumClass, BytecodeCreator bytecodeCreator, MethodDescriptor enumOrdinal)ResultHandleGizmo.JdkList.JdkListInstance. get(int index)ResultHandleGizmo.JdkList.JdkListInstance. get(ResultHandle index)ResultHandleGizmo.JdkMap.JdkMapInstance. get(ResultHandle key)ResultHandleGizmo.JdkOptional.JdkOptionalInstance. get()ResultHandleCatchBlockCreator. getCaughtException()ResultHandleCatchBlockCreatorImpl. getCaughtException()ResultHandleFunctionCreator. getInstance()ResultHandleFunctionCreatorImpl. getInstance()ResultHandleGizmo.StringBuilderGenerator. getInstance()ResultHandleBytecodeCreator. getMethodParam(int i)ResultHandleBytecodeCreatorImpl. getMethodParam(int methodNo)(package private) ResultHandleBytecodeCreatorImpl.AssignOperation. getOutgoingResultHandle()(package private) ResultHandleBytecodeCreatorImpl.BlockOperation. getOutgoingResultHandle()(package private) ResultHandleBytecodeCreatorImpl.IfOperation. getOutgoingResultHandle()(package private) ResultHandleBytecodeCreatorImpl.InvokeOperation. getOutgoingResultHandle()(package private) ResultHandleBytecodeCreatorImpl.JumpOperation. getOutgoingResultHandle()(package private) ResultHandleBytecodeCreatorImpl.NewInstanceOperation. getOutgoingResultHandle()(package private) abstract ResultHandleBytecodeCreatorImpl.Operation. getOutgoingResultHandle()ResultHandleBytecodeCreator. getThis()ResultHandleBytecodeCreatorImpl. getThis()(package private) ResultHandleBytecodeCreatorImpl.AssignOperation. getTopResultHandle()(package private) ResultHandleBytecodeCreatorImpl.BlockOperation. getTopResultHandle()(package private) ResultHandleBytecodeCreatorImpl.IfOperation. getTopResultHandle()(package private) ResultHandleBytecodeCreatorImpl.InvokeOperation. getTopResultHandle()(package private) ResultHandleBytecodeCreatorImpl.JumpOperation. getTopResultHandle()(package private) ResultHandleBytecodeCreatorImpl.NewInstanceOperation. getTopResultHandle()(package private) abstract ResultHandleBytecodeCreatorImpl.Operation. getTopResultHandle()ResultHandleGizmo.JdkIterator.JdkIteratorInstance. hasNext()default ResultHandleBytecodeCreator. increment(ResultHandle toIncrement)Increments a ResultHandledefault ResultHandleBytecodeCreator. instanceOf(ResultHandle resultHandle, java.lang.Class<?> testType)Checks if the given resultHandle is an instance of the target typeResultHandleBytecodeCreator. instanceOf(ResultHandle resultHandle, java.lang.String testType)Checks if the given resultHandle is an instance of the target typeResultHandleBytecodeCreatorImpl. instanceOf(ResultHandle resultHandle, java.lang.String castTarget)ResultHandleGizmo.CustomInvocationGenerator. invoke(ResultHandle... args)ResultHandleBytecodeCreator. invokeInterfaceMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args)Invokes a interface method, and returns aResultHandlewith the result, or null if the method is void.default ResultHandleBytecodeCreator. invokeInterfaceMethod(org.jboss.jandex.MethodInfo descriptor, ResultHandle object, ResultHandle... args)Invokes a interface method, and returns aResultHandlewith the result, or null if the method is void.ResultHandleBytecodeCreatorImpl. invokeInterfaceMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args)ResultHandleBytecodeCreator. invokeSpecialInterfaceMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args)Invokes a special interface method, and returns aResultHandlewith the result, or null if the method is void.default ResultHandleBytecodeCreator. invokeSpecialInterfaceMethod(org.jboss.jandex.MethodInfo descriptor, ResultHandle object, ResultHandle... args)Invokes a special interface method, and returns aResultHandlewith the result, or null if the method is void.ResultHandleBytecodeCreatorImpl. invokeSpecialInterfaceMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args)ResultHandleFunctionCreatorImpl.FunctionBytecodeCreator. invokeSpecialInterfaceMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args)ResultHandleBytecodeCreator. invokeSpecialMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args)Invokes a special method, and returns aResultHandlewith the result, or null if the method is void.default ResultHandleBytecodeCreator. invokeSpecialMethod(org.jboss.jandex.MethodInfo descriptor, ResultHandle object, ResultHandle... args)Invokes a special method, and returns aResultHandlewith the result, or null if the method is void.ResultHandleBytecodeCreatorImpl. invokeSpecialMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args)ResultHandleFunctionCreatorImpl.FunctionBytecodeCreator. invokeSpecialMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args)ResultHandleBytecodeCreator. invokeStaticInterfaceMethod(MethodDescriptor descriptor, ResultHandle... args)Invokes a static method of an interface, and returns aResultHandlewith the result, or null if the method is void.default ResultHandleBytecodeCreator. invokeStaticInterfaceMethod(org.jboss.jandex.MethodInfo descriptor, ResultHandle... args)Invokes a static method of an interface, and returns aResultHandlewith the result, or null if the method is void.ResultHandleBytecodeCreatorImpl. invokeStaticInterfaceMethod(MethodDescriptor descriptor, ResultHandle... args)ResultHandleBytecodeCreator. invokeStaticMethod(MethodDescriptor descriptor, ResultHandle... args)Invokes a static method, and returns aResultHandlewith the result, or null if the method is void.default ResultHandleBytecodeCreator. invokeStaticMethod(org.jboss.jandex.MethodInfo descriptor, ResultHandle... args)Invokes a static method, and returns aResultHandlewith the result, or null if the method is void.ResultHandleBytecodeCreatorImpl. invokeStaticMethod(MethodDescriptor descriptor, ResultHandle... args)ResultHandleBytecodeCreator. invokeVirtualMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args)Invokes a virtual method, and returns aResultHandlewith the result, or null if the method is void.default ResultHandleBytecodeCreator. invokeVirtualMethod(org.jboss.jandex.MethodInfo descriptor, ResultHandle object, ResultHandle... args)Invokes a virtual method, and returns aResultHandlewith the result, or null if the method is void.ResultHandleBytecodeCreatorImpl. invokeVirtualMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args)ResultHandleGizmo.JdkCollection.JdkCollectionInstance. isEmpty()ResultHandleGizmo.JdkMap.JdkMapInstance. isEmpty()ResultHandleGizmo.JdkOptional.JdkOptionalInstance. isEmpty()ResultHandleGizmo.JdkOptional.JdkOptionalInstance. isPresent()ResultHandleGizmo.JdkIterable.JdkIterableInstance. iterator()ResultHandleBytecodeCreator. load(boolean val)Returns aResultHandlerepresenting the specified valueResultHandleBytecodeCreator. load(byte val)Returns aResultHandlerepresenting the specified valueResultHandleBytecodeCreator. load(char val)Returns aResultHandlerepresenting the specified valueResultHandleBytecodeCreator. load(double val)Returns aResultHandlerepresenting the specified valueResultHandleBytecodeCreator. load(float val)Returns aResultHandlerepresenting the specified valueResultHandleBytecodeCreator. load(int val)Returns aResultHandlerepresenting the specified valueResultHandleBytecodeCreator. load(long val)Returns aResultHandlerepresenting the specified valueResultHandleBytecodeCreator. load(short val)Returns aResultHandlerepresenting the specified valuedefault ResultHandleBytecodeCreator. load(java.lang.Enum<?> val)Returns aResultHandlerepresenting the specified valueResultHandleBytecodeCreator. load(java.lang.String val)Returns aResultHandlerepresenting the specified valueResultHandleBytecodeCreatorImpl. load(boolean val)ResultHandleBytecodeCreatorImpl. load(byte val)ResultHandleBytecodeCreatorImpl. load(char val)ResultHandleBytecodeCreatorImpl. load(double val)ResultHandleBytecodeCreatorImpl. load(float val)ResultHandleBytecodeCreatorImpl. load(int val)ResultHandleBytecodeCreatorImpl. load(long val)ResultHandleBytecodeCreatorImpl. load(short val)ResultHandleBytecodeCreatorImpl. load(java.lang.String val)Implementation detail: when the string to be loaded is larger thanBytecodeCreatorImpl.MAX_STRING_LENGTH, then aStringBuilderis used to construct the final String.default ResultHandleBytecodeCreator. loadClass(java.lang.Class<?> val)Returns aResultHandlerepresenting the specified class Note that in almost all circumstances you are better off usingBytecodeCreator.loadClassFromTCCL(Class), as it can load classes that are not visible from the current class.ResultHandleBytecodeCreator. loadClass(java.lang.String className)Returns aResultHandlerepresenting the specified class Note that in almost all circumstances you are better off usingBytecodeCreator.loadClassFromTCCL(String), as it can load classes that are not visible from the current class.default ResultHandleBytecodeCreator. loadClass(org.jboss.jandex.ClassInfo val)Returns aResultHandlerepresenting the specified class Note that in almost all circumstances you are better off usingBytecodeCreator.loadClassFromTCCL(ClassInfo), as it can load classes that are not visible from the current class.ResultHandleBytecodeCreatorImpl. loadClass(java.lang.String className)private ResultHandleBytecodeCreatorImpl. loadClass(java.lang.String className, boolean useTccl)private ResultHandleBytecodeCreatorImpl. loadClassConstant(java.lang.String className)default ResultHandleBytecodeCreator. loadClassFromTCCL(java.lang.Class<?> val)Returns aResultHandlerepresenting the specified class loaded from the TCCL.ResultHandleBytecodeCreator. loadClassFromTCCL(java.lang.String className)Returns aResultHandlerepresenting the specified class This method can load all classes, including package private classes that are not visible to the current bytecode.default ResultHandleBytecodeCreator. loadClassFromTCCL(org.jboss.jandex.ClassInfo val)Returns aResultHandlerepresenting the specified class This method can load all classes, including package private classes that are not visible to the current bytecode.ResultHandleBytecodeCreatorImpl. loadClassFromTCCL(java.lang.String className)ResultHandleBytecodeCreator. loadNull()Returns aResultHandlerepresentingnull}ResultHandleBytecodeCreatorImpl. loadNull()default ResultHandleBytecodeCreator. marshalAsArray(java.lang.Class<?> arrayClass, ResultHandle... params)ResultHandleBytecodeCreator. multiply(ResultHandle a1, ResultHandle a2)Multiplies the two result handles together and returns the resultResultHandleBytecodeCreatorImpl. multiply(ResultHandle a1, ResultHandle a2)default ResultHandleBytecodeCreator. newArray(java.lang.Class<?> type, int length)default ResultHandleBytecodeCreator. newArray(java.lang.Class<?> type, ResultHandle length)default ResultHandleBytecodeCreator. newArray(java.lang.String type, int length)ResultHandleBytecodeCreator. newArray(java.lang.String type, ResultHandle length)ResultHandleBytecodeCreatorImpl. newArray(java.lang.String type, ResultHandle length)static ResultHandleGizmo. newArrayList(BytecodeCreator target)Generates the bytecode that calls the no-argsArrayListconstructor.static ResultHandleGizmo. newArrayList(BytecodeCreator target, int initialCapacity)Generates the bytecode that calls theArrayListconstructor with the specified initial capacity.static ResultHandleGizmo. newHashMap(BytecodeCreator target)Generates the bytecode that calls the no-argsHashMapconstructor.static ResultHandleGizmo. newHashSet(BytecodeCreator target)Generates the bytecode that calls the no-argsHashSetconstructor.ResultHandleBytecodeCreator. newInstance(MethodDescriptor descriptor, ResultHandle... args)Creates a new instance of a given type, by calling the specified constructor, and returns aResultHandlerepresenting the resultdefault ResultHandleBytecodeCreator. newInstance(org.jboss.jandex.MethodInfo descriptor, ResultHandle... args)Creates a new instance of a given type, by calling the specified constructor, and returns aResultHandlerepresenting the resultResultHandleBytecodeCreatorImpl. newInstance(MethodDescriptor descriptor, ResultHandle... args)ResultHandleGizmo.JdkIterator.JdkIteratorInstance. next()ResultHandleGizmo.JdkList. of()ResultHandleGizmo.JdkList. of(ResultHandle e1)ResultHandleGizmo.JdkList. of(ResultHandle... elements)ResultHandleGizmo.JdkList. of(ResultHandle e1, ResultHandle e2)ResultHandleGizmo.JdkList. of(ResultHandle e1, ResultHandle e2, ResultHandle e3)ResultHandleGizmo.JdkMap. of()ResultHandleGizmo.JdkMap. of(ResultHandle k1, ResultHandle v1)ResultHandleGizmo.JdkOptional. of(ResultHandle value)ResultHandleGizmo.JdkSet. of()ResultHandleGizmo.JdkSet. of(ResultHandle e1)ResultHandleGizmo.JdkSet. of(ResultHandle... elements)ResultHandleGizmo.JdkSet. of(ResultHandle e1, ResultHandle e2)ResultHandleGizmo.JdkSet. of(ResultHandle e1, ResultHandle e2, ResultHandle e3)ResultHandleGizmo.JdkOptional. ofNullable(ResultHandle value)ResultHandleGizmo.JdkMap.JdkMapInstance. put(ResultHandle key, ResultHandle val)default ResultHandleBytecodeCreator. readArrayValue(ResultHandle array, int index)ResultHandleBytecodeCreator. readArrayValue(ResultHandle array, ResultHandle index)ResultHandleBytecodeCreatorImpl. readArrayValue(ResultHandle array, ResultHandle index)ResultHandleBytecodeCreator. readInstanceField(FieldDescriptor fieldDescriptor, ResultHandle instance)Reads an instance field and returns aResultHandlerepresenting the result.default ResultHandleBytecodeCreator. readInstanceField(org.jboss.jandex.FieldInfo fieldDescriptor, ResultHandle instance)Reads an instance field and returns aResultHandlerepresenting the result.ResultHandleBytecodeCreatorImpl. readInstanceField(FieldDescriptor fieldDescriptor, ResultHandle instance)ResultHandleBytecodeCreator. readStaticField(FieldDescriptor fieldDescriptor)Reads a static field and returns aResultHandlerepresenting the result.default ResultHandleBytecodeCreator. readStaticField(org.jboss.jandex.FieldInfo fieldDescriptor)Reads a static field and returns aResultHandlerepresenting the result.ResultHandleBytecodeCreatorImpl. readStaticField(FieldDescriptor fieldDescriptor)ResultHandleBytecodeCreator. remainder(ResultHandle a1, ResultHandle a2)Computes the remainder after division of the first result handle by the second and returns the resultResultHandleBytecodeCreatorImpl. remainder(ResultHandle a1, ResultHandle a2)private ResultHandle[]BytecodeCreatorImpl. requireNonNullHandles(ResultHandle[] handles)(package private) ResultHandle[]BytecodeCreatorImpl. resolve(BytecodeCreator creator, ResultHandle... handles)(package private) ResultHandleBytecodeCreatorImpl. resolve(ResultHandle handle)(package private) ResultHandle[]BytecodeCreatorImpl. resolve(ResultHandle... handles)(package private) ResultHandleBytecodeCreatorImpl. resolve(ResultHandle handle, BytecodeCreator creator)(package private) ResultHandle[]FunctionCreatorImpl.FunctionBytecodeCreator. resolve(BytecodeCreator owner, ResultHandle... handle)(package private) ResultHandleFunctionCreatorImpl.FunctionBytecodeCreator. resolve(ResultHandle handle, BytecodeCreator invoker)Turns a parent result handle into a local result handle.(package private) ResultHandle[]MethodCreatorImpl. resolve(BytecodeCreator owner, ResultHandle... handles)(package private) ResultHandleMethodCreatorImpl. resolve(ResultHandle handle, BytecodeCreator creator)ResultHandleGizmo.JdkCollection.JdkCollectionInstance. size()ResultHandleGizmo.JdkMap.JdkMapInstance. size()ResultHandleBytecodeCreator. subtract(ResultHandle a1, ResultHandle a2)Subtracts the second result handle from the first result and returns the resultResultHandleBytecodeCreatorImpl. subtract(ResultHandle a1, ResultHandle a2)static ResultHandleGizmo. toString(BytecodeCreator target, ResultHandle obj)Generates the bytecode that callsObject.toString().Methods in io.quarkus.gizmo that return types with arguments of type ResultHandle Modifier and Type Method Description (package private) java.util.Set<ResultHandle>FunctionCreatorImpl. getCapturedResultHandles()(package private) java.util.Set<ResultHandle>BytecodeCreatorImpl.AssignOperation. getInputResultHandles()(package private) java.util.Set<ResultHandle>BytecodeCreatorImpl.BlockOperation. getInputResultHandles()(package private) java.util.Set<ResultHandle>BytecodeCreatorImpl.IfOperation. getInputResultHandles()(package private) java.util.Set<ResultHandle>BytecodeCreatorImpl.InvokeOperation. getInputResultHandles()(package private) java.util.Set<ResultHandle>BytecodeCreatorImpl.JumpOperation. getInputResultHandles()(package private) java.util.Set<ResultHandle>BytecodeCreatorImpl.NewInstanceOperation. getInputResultHandles()(package private) abstract java.util.Set<ResultHandle>BytecodeCreatorImpl.Operation. getInputResultHandles()Gets all result handles that are used as input to this operationMethods in io.quarkus.gizmo with parameters of type ResultHandle Modifier and Type Method Description ResultHandleBytecodeCreator. add(ResultHandle a1, ResultHandle a2)Adds the two result handles together and returns the resultResultHandleBytecodeCreatorImpl. add(ResultHandle a1, ResultHandle a2)ResultHandleGizmo.JdkCollection.JdkCollectionInstance. add(ResultHandle element)ResultHandleGizmo.JdkCollection.JdkCollectionInstance. addAll(ResultHandle collection)(package private) FunctionCreatorImplMethodCreatorImpl. addFunctionBody(ResultHandle instance, ClassCreator cc, MethodCreatorImpl mc, BytecodeCreatorImpl owner)Gizmo.StringBuilderGeneratorGizmo.StringBuilderGenerator. append(ResultHandle value)ResultHandleBytecodeCreator. arrayLength(ResultHandle array)ResultHandleBytecodeCreatorImpl. arrayLength(ResultHandle array)voidBytecodeCreator. assign(AssignableResultHandle target, ResultHandle value)Assign the given value to the given assignable target.voidBytecodeCreatorImpl. assign(AssignableResultHandle target, ResultHandle value)ResultHandleBytecodeCreator. bitwiseAnd(ResultHandle a1, ResultHandle a2)Computes the bitwise AND of the two result handles and returns the resultResultHandleBytecodeCreatorImpl. bitwiseAnd(ResultHandle a1, ResultHandle a2)ResultHandleBytecodeCreator. bitwiseOr(ResultHandle a1, ResultHandle a2)Computes the bitwise OR of the two result handles and returns the resultResultHandleBytecodeCreatorImpl. bitwiseOr(ResultHandle a1, ResultHandle a2)ResultHandleBytecodeCreator. bitwiseXor(ResultHandle a1, ResultHandle a2)Computes the bitwise XOR of the two result handles and returns the resultResultHandleBytecodeCreatorImpl. bitwiseXor(ResultHandle a1, ResultHandle a2)default ResultHandleBytecodeCreator. checkCast(ResultHandle resultHandle, java.lang.Class<?> castTarget)Perform a check cast operation which transforms the type of the given result handle.ResultHandleBytecodeCreator. checkCast(ResultHandle resultHandle, java.lang.String castTarget)Perform a check cast operation which transforms the type of the given result handle.ResultHandleBytecodeCreatorImpl. checkCast(ResultHandle resultHandle, java.lang.String castTarget)(package private) ResultHandle[]BytecodeCreatorImpl. checkScope(ResultHandle[] handles)ResultHandleBytecodeCreator. compareDouble(ResultHandle value1, ResultHandle value2, boolean nanComparesAsGreater)Compares twodoublevalues and pushes the resulting integer to the stack.ResultHandleBytecodeCreatorImpl. compareDouble(ResultHandle value1, ResultHandle value2, boolean nanComparesAsGreater)ResultHandleBytecodeCreator. compareFloat(ResultHandle value1, ResultHandle value2, boolean nanComparesAsGreater)Compares twofloatvalues and pushes the resulting integer to the stack.ResultHandleBytecodeCreatorImpl. compareFloat(ResultHandle value1, ResultHandle value2, boolean nanComparesAsGreater)ResultHandleBytecodeCreator. compareLong(ResultHandle value1, ResultHandle value2)Compares twolongvalues and pushes the resulting integer to the stack.ResultHandleBytecodeCreatorImpl. compareLong(ResultHandle value1, ResultHandle value2)ResultHandleGizmo.JdkCollection.JdkCollectionInstance. contains(ResultHandle obj)ResultHandleGizmo.JdkMap.JdkMapInstance. containsKey(ResultHandle key)ResultHandleBytecodeCreator. convertPrimitive(ResultHandle value, java.lang.Class<?> conversionTarget)Converts givenvalue, which must be of a primitive type, to the givenconversionTarget, which must be a primitive type, using primitive conversions defined by the Java language specification.ResultHandleBytecodeCreatorImpl. convertPrimitive(ResultHandle value, java.lang.Class<?> conversionTarget)ResultHandleGizmo.JdkList. copyOf(ResultHandle collection)ResultHandleGizmo.JdkMap. copyOf(ResultHandle map)ResultHandleGizmo.JdkSet. copyOf(ResultHandle collection)(package private) BytecodeCreatorImpl.OperationBytecodeCreatorImpl. createNewInstanceOp(ResultHandle handle, MethodDescriptor descriptor, ResultHandle[] args)ResultHandleBytecodeCreator. divide(ResultHandle a1, ResultHandle a2)Divides the first result handle by the second and returns the resultResultHandleBytecodeCreatorImpl. divide(ResultHandle a1, ResultHandle a2)BytecodeCreatorIfThenElse. elseIf(ResultHandle condition)Creates a new else-if statement.BytecodeCreatorIfThenElseImpl. elseIf(ResultHandle value)private ResultHandleBytecodeCreatorImpl. emitBinaryArithmetic(int intOpcode, ResultHandle a1, ResultHandle a2)private ResultHandleBytecodeCreatorImpl. emitCompare(int opcode, java.lang.String expectedType, ResultHandle value1, ResultHandle value2)<E extends java.lang.Enum<E>>
Switch.EnumSwitch<E>BytecodeCreator. enumSwitch(ResultHandle value, java.lang.Class<E> enumClass)Create a new switch construct for an enum constant.<E extends java.lang.Enum<E>>
Switch.EnumSwitch<E>BytecodeCreatorImpl. enumSwitch(ResultHandle value, java.lang.Class<E> enumClass)<E extends java.lang.Enum<E>>
Switch.EnumSwitch<E>ClassTransfromerMethodCreatorImpl. enumSwitch(ResultHandle value, java.lang.Class<E> enumClass)static ResultHandleGizmo. equals(BytecodeCreator target, ResultHandle obj1, ResultHandle obj2)Generates the bytecode that callsObject.equals(Object).ForEachLoopBytecodeCreator. forEach(ResultHandle iterable)Create a new for-each loop construct.ForEachLoopBytecodeCreatorImpl. forEach(ResultHandle iterable)ResultHandleGizmo.JdkList.JdkListInstance. get(ResultHandle index)ResultHandleGizmo.JdkMap.JdkMapInstance. get(ResultHandle key)BranchResultBytecodeCreator. ifFalse(ResultHandle resultHandle)An if statement.BranchResultBytecodeCreatorImpl. ifFalse(ResultHandle resultHandle)BranchResultBytecodeCreator. ifGreaterEqualZero(ResultHandle resultHandle)An if statement.BranchResultBytecodeCreatorImpl. ifGreaterEqualZero(ResultHandle resultHandle)BranchResultBytecodeCreator. ifGreaterThanZero(ResultHandle resultHandle)An if statement.BranchResultBytecodeCreatorImpl. ifGreaterThanZero(ResultHandle resultHandle)BranchResultBytecodeCreator. ifIntegerEqual(ResultHandle value1, ResultHandle value2)An if statement.BranchResultBytecodeCreatorImpl. ifIntegerEqual(ResultHandle value1, ResultHandle value2)BranchResultBytecodeCreator. ifIntegerGreaterEqual(ResultHandle value1, ResultHandle value2)An if statement.BranchResultBytecodeCreatorImpl. ifIntegerGreaterEqual(ResultHandle value1, ResultHandle value2)BranchResultBytecodeCreator. ifIntegerGreaterThan(ResultHandle value1, ResultHandle value2)An if statement.BranchResultBytecodeCreatorImpl. ifIntegerGreaterThan(ResultHandle value1, ResultHandle value2)BranchResultBytecodeCreator. ifIntegerLessEqual(ResultHandle value1, ResultHandle value2)An if statement.BranchResultBytecodeCreatorImpl. ifIntegerLessEqual(ResultHandle value1, ResultHandle value2)BranchResultBytecodeCreator. ifIntegerLessThan(ResultHandle value1, ResultHandle value2)An if statement.BranchResultBytecodeCreatorImpl. ifIntegerLessThan(ResultHandle value1, ResultHandle value2)BranchResultBytecodeCreator. ifLessEqualZero(ResultHandle resultHandle)An if statement.BranchResultBytecodeCreatorImpl. ifLessEqualZero(ResultHandle resultHandle)BranchResultBytecodeCreator. ifLessThanZero(ResultHandle resultHandle)An if statement.BranchResultBytecodeCreatorImpl. ifLessThanZero(ResultHandle resultHandle)BranchResultBytecodeCreator. ifNonZero(ResultHandle resultHandle)An if statement.BranchResultBytecodeCreatorImpl. ifNonZero(ResultHandle resultHandle)BranchResultBytecodeCreator. ifNotNull(ResultHandle resultHandle)An if statement.BranchResultBytecodeCreatorImpl. ifNotNull(ResultHandle resultHandle)BranchResultBytecodeCreator. ifNull(ResultHandle resultHandle)An if statement.BranchResultBytecodeCreatorImpl. ifNull(ResultHandle resultHandle)BranchResultBytecodeCreator. ifReferencesEqual(ResultHandle ref1, ResultHandle ref2)An if statement.BranchResultBytecodeCreatorImpl. ifReferencesEqual(ResultHandle ref1, ResultHandle ref2)BranchResultBytecodeCreator. ifReferencesNotEqual(ResultHandle ref1, ResultHandle ref2)An if statement.BranchResultBytecodeCreatorImpl. ifReferencesNotEqual(ResultHandle ref1, ResultHandle ref2)IfThenElseBytecodeCreator. ifThenElse(ResultHandle condition)Create a new if-then-else construct.IfThenElseBytecodeCreatorImpl. ifThenElse(ResultHandle value)BranchResultBytecodeCreator. ifTrue(ResultHandle resultHandle)An if statement.BranchResultBytecodeCreatorImpl. ifTrue(ResultHandle resultHandle)private BranchResultBytecodeCreatorImpl. ifValue(ResultHandle resultHandle, int opcode, java.lang.String opType)private BranchResultBytecodeCreatorImpl. ifValues(ResultHandle resultHandle1, ResultHandle resultHandle2, int opcode, java.lang.String opType)BranchResultBytecodeCreator. ifZero(ResultHandle resultHandle)An if statement.BranchResultBytecodeCreatorImpl. ifZero(ResultHandle resultHandle)default ResultHandleBytecodeCreator. increment(ResultHandle toIncrement)Increments a ResultHandleGizmo.JdkMap.JdkMapInstanceGizmo.JdkMap. instance(ResultHandle map)Deprecated.default ResultHandleBytecodeCreator. instanceOf(ResultHandle resultHandle, java.lang.Class<?> testType)Checks if the given resultHandle is an instance of the target typeResultHandleBytecodeCreator. instanceOf(ResultHandle resultHandle, java.lang.String testType)Checks if the given resultHandle is an instance of the target typeResultHandleBytecodeCreatorImpl. instanceOf(ResultHandle resultHandle, java.lang.String castTarget)ResultHandleGizmo.CustomInvocationGenerator. invoke(ResultHandle... args)ResultHandleBytecodeCreator. invokeInterfaceMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args)Invokes a interface method, and returns aResultHandlewith the result, or null if the method is void.default ResultHandleBytecodeCreator. invokeInterfaceMethod(org.jboss.jandex.MethodInfo descriptor, ResultHandle object, ResultHandle... args)Invokes a interface method, and returns aResultHandlewith the result, or null if the method is void.ResultHandleBytecodeCreatorImpl. invokeInterfaceMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args)ResultHandleBytecodeCreator. invokeSpecialInterfaceMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args)Invokes a special interface method, and returns aResultHandlewith the result, or null if the method is void.default ResultHandleBytecodeCreator. invokeSpecialInterfaceMethod(org.jboss.jandex.MethodInfo descriptor, ResultHandle object, ResultHandle... args)Invokes a special interface method, and returns aResultHandlewith the result, or null if the method is void.ResultHandleBytecodeCreatorImpl. invokeSpecialInterfaceMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args)ResultHandleFunctionCreatorImpl.FunctionBytecodeCreator. invokeSpecialInterfaceMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args)ResultHandleBytecodeCreator. invokeSpecialMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args)Invokes a special method, and returns aResultHandlewith the result, or null if the method is void.default ResultHandleBytecodeCreator. invokeSpecialMethod(org.jboss.jandex.MethodInfo descriptor, ResultHandle object, ResultHandle... args)Invokes a special method, and returns aResultHandlewith the result, or null if the method is void.ResultHandleBytecodeCreatorImpl. invokeSpecialMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args)ResultHandleFunctionCreatorImpl.FunctionBytecodeCreator. invokeSpecialMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args)ResultHandleBytecodeCreator. invokeStaticInterfaceMethod(MethodDescriptor descriptor, ResultHandle... args)Invokes a static method of an interface, and returns aResultHandlewith the result, or null if the method is void.default ResultHandleBytecodeCreator. invokeStaticInterfaceMethod(org.jboss.jandex.MethodInfo descriptor, ResultHandle... args)Invokes a static method of an interface, and returns aResultHandlewith the result, or null if the method is void.ResultHandleBytecodeCreatorImpl. invokeStaticInterfaceMethod(MethodDescriptor descriptor, ResultHandle... args)ResultHandleBytecodeCreator. invokeStaticMethod(MethodDescriptor descriptor, ResultHandle... args)Invokes a static method, and returns aResultHandlewith the result, or null if the method is void.default ResultHandleBytecodeCreator. invokeStaticMethod(org.jboss.jandex.MethodInfo descriptor, ResultHandle... args)Invokes a static method, and returns aResultHandlewith the result, or null if the method is void.ResultHandleBytecodeCreatorImpl. invokeStaticMethod(MethodDescriptor descriptor, ResultHandle... args)ResultHandleBytecodeCreator. invokeVirtualMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args)Invokes a virtual method, and returns aResultHandlewith the result, or null if the method is void.default ResultHandleBytecodeCreator. invokeVirtualMethod(org.jboss.jandex.MethodInfo descriptor, ResultHandle object, ResultHandle... args)Invokes a virtual method, and returns aResultHandlewith the result, or null if the method is void.ResultHandleBytecodeCreatorImpl. invokeVirtualMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args)(package private) voidBytecodeCreatorImpl. loadResultHandle(org.objectweb.asm.MethodVisitor methodVisitor, ResultHandle handle, BytecodeCreatorImpl bc, java.lang.String expectedType)(package private) voidBytecodeCreatorImpl. loadResultHandle(org.objectweb.asm.MethodVisitor methodVisitor, ResultHandle handle, BytecodeCreatorImpl bc, java.lang.String expectedType, boolean dontCast)default ResultHandleBytecodeCreator. marshalAsArray(java.lang.Class<?> arrayClass, ResultHandle... params)ResultHandleBytecodeCreator. multiply(ResultHandle a1, ResultHandle a2)Multiplies the two result handles together and returns the resultResultHandleBytecodeCreatorImpl. multiply(ResultHandle a1, ResultHandle a2)default ResultHandleBytecodeCreator. newArray(java.lang.Class<?> type, ResultHandle length)ResultHandleBytecodeCreator. newArray(java.lang.String type, ResultHandle length)ResultHandleBytecodeCreatorImpl. newArray(java.lang.String type, ResultHandle length)ResultHandleBytecodeCreator. newInstance(MethodDescriptor descriptor, ResultHandle... args)Creates a new instance of a given type, by calling the specified constructor, and returns aResultHandlerepresenting the resultdefault ResultHandleBytecodeCreator. newInstance(org.jboss.jandex.MethodInfo descriptor, ResultHandle... args)Creates a new instance of a given type, by calling the specified constructor, and returns aResultHandlerepresenting the resultResultHandleBytecodeCreatorImpl. newInstance(MethodDescriptor descriptor, ResultHandle... args)ResultHandleGizmo.JdkList. of(ResultHandle e1)ResultHandleGizmo.JdkList. of(ResultHandle... elements)ResultHandleGizmo.JdkList. of(ResultHandle e1, ResultHandle e2)ResultHandleGizmo.JdkList. of(ResultHandle e1, ResultHandle e2, ResultHandle e3)ResultHandleGizmo.JdkMap. of(ResultHandle k1, ResultHandle v1)ResultHandleGizmo.JdkOptional. of(ResultHandle value)ResultHandleGizmo.JdkSet. of(ResultHandle e1)ResultHandleGizmo.JdkSet. of(ResultHandle... elements)ResultHandleGizmo.JdkSet. of(ResultHandle e1, ResultHandle e2)ResultHandleGizmo.JdkSet. of(ResultHandle e1, ResultHandle e2, ResultHandle e3)ResultHandleGizmo.JdkOptional. ofNullable(ResultHandle value)Gizmo.JdkCollection.JdkCollectionInstanceGizmo.JdkCollection. on(ResultHandle list)Gizmo.JdkIterable.JdkIterableInstanceGizmo.JdkIterable. on(ResultHandle iterable)Gizmo.JdkIterator.JdkIteratorInstanceGizmo.JdkIterator. on(ResultHandle iterator)Gizmo.JdkList.JdkListInstanceGizmo.JdkList. on(ResultHandle list)Gizmo.JdkMap.JdkMapInstanceGizmo.JdkMap. on(ResultHandle map)Gizmo.JdkOptional.JdkOptionalInstanceGizmo.JdkOptional. on(ResultHandle optional)Gizmo.JdkSet.JdkSetInstanceGizmo.JdkSet. on(ResultHandle set)ResultHandleGizmo.JdkMap.JdkMapInstance. put(ResultHandle key, ResultHandle val)default ResultHandleBytecodeCreator. readArrayValue(ResultHandle array, int index)ResultHandleBytecodeCreator. readArrayValue(ResultHandle array, ResultHandle index)ResultHandleBytecodeCreatorImpl. readArrayValue(ResultHandle array, ResultHandle index)ResultHandleBytecodeCreator. readInstanceField(FieldDescriptor fieldDescriptor, ResultHandle instance)Reads an instance field and returns aResultHandlerepresenting the result.default ResultHandleBytecodeCreator. readInstanceField(org.jboss.jandex.FieldInfo fieldDescriptor, ResultHandle instance)Reads an instance field and returns aResultHandlerepresenting the result.ResultHandleBytecodeCreatorImpl. readInstanceField(FieldDescriptor fieldDescriptor, ResultHandle instance)ResultHandleBytecodeCreator. remainder(ResultHandle a1, ResultHandle a2)Computes the remainder after division of the first result handle by the second and returns the resultResultHandleBytecodeCreatorImpl. remainder(ResultHandle a1, ResultHandle a2)private ResultHandle[]BytecodeCreatorImpl. requireNonNullHandles(ResultHandle[] handles)(package private) ResultHandle[]BytecodeCreatorImpl. resolve(BytecodeCreator creator, ResultHandle... handles)(package private) ResultHandleBytecodeCreatorImpl. resolve(ResultHandle handle)(package private) ResultHandle[]BytecodeCreatorImpl. resolve(ResultHandle... handles)(package private) ResultHandleBytecodeCreatorImpl. resolve(ResultHandle handle, BytecodeCreator creator)(package private) ResultHandle[]FunctionCreatorImpl.FunctionBytecodeCreator. resolve(BytecodeCreator owner, ResultHandle... handle)(package private) ResultHandleFunctionCreatorImpl.FunctionBytecodeCreator. resolve(ResultHandle handle, BytecodeCreator invoker)Turns a parent result handle into a local result handle.(package private) ResultHandle[]MethodCreatorImpl. resolve(BytecodeCreator owner, ResultHandle... handles)(package private) ResultHandleMethodCreatorImpl. resolve(ResultHandle handle, BytecodeCreator creator)voidBytecodeCreator. returnValue(ResultHandle returnValue)Represents a return statement.voidBytecodeCreatorImpl. returnValue(ResultHandle returnValue)(package private) static voidBytecodeCreatorImpl. storeResultHandle(org.objectweb.asm.MethodVisitor methodVisitor, ResultHandle handle)Switch.StringSwitchBytecodeCreator. stringSwitch(ResultHandle value)Create a new switch construct for a string value.Switch.StringSwitchBytecodeCreatorImpl. stringSwitch(ResultHandle value)ResultHandleBytecodeCreator. subtract(ResultHandle a1, ResultHandle a2)Subtracts the second result handle from the first result and returns the resultResultHandleBytecodeCreatorImpl. subtract(ResultHandle a1, ResultHandle a2)static voidGizmo. systemErrPrintln(BytecodeCreator target, ResultHandle obj)Generates the bytecode that callsSystem.err.println(obj).static voidGizmo. systemOutPrintln(BytecodeCreator target, ResultHandle obj)Generates the bytecode that callsSystem.out.println(obj).voidBytecodeCreator. throwException(ResultHandle exception)Throws an exceptiondefault <T extends java.lang.Throwable>
voidBytecodeCreator. throwException(java.lang.Class<T> exceptionType, java.lang.String message, ResultHandle existing)Rethrows an exception.voidBytecodeCreatorImpl. throwException(ResultHandle exception)static ResultHandleGizmo. toString(BytecodeCreator target, ResultHandle obj)Generates the bytecode that callsObject.toString().default voidBytecodeCreator. writeArrayValue(ResultHandle array, int index, ResultHandle value)voidBytecodeCreator. writeArrayValue(ResultHandle array, ResultHandle index, ResultHandle value)voidBytecodeCreatorImpl. writeArrayValue(ResultHandle array, ResultHandle index, ResultHandle value)voidBytecodeCreator. writeInstanceField(FieldDescriptor fieldDescriptor, ResultHandle instance, ResultHandle value)Writes the specified value to an instance fielddefault voidBytecodeCreator. writeInstanceField(org.jboss.jandex.FieldInfo fieldDescriptor, ResultHandle instance, ResultHandle value)Writes the specified value to an instance fieldvoidBytecodeCreatorImpl. writeInstanceField(FieldDescriptor fieldDescriptor, ResultHandle instance, ResultHandle value)voidBytecodeCreator. writeStaticField(FieldDescriptor fieldDescriptor, ResultHandle value)Writes the specified value to an static fielddefault voidBytecodeCreator. writeStaticField(org.jboss.jandex.FieldInfo fieldDescriptor, ResultHandle value)Writes the specified value to an static fieldvoidBytecodeCreatorImpl. writeStaticField(FieldDescriptor fieldDescriptor, ResultHandle value)Method parameters in io.quarkus.gizmo with type arguments of type ResultHandle Modifier and Type Method Description BytecodeCreatorIfThenElse. elseIf(java.util.function.Function<BytecodeCreator,ResultHandle> test)Creates a new else-if statement.BytecodeCreatorIfThenElseImpl. elseIf(java.util.function.Function<BytecodeCreator,ResultHandle> test)(package private) voidBytecodeCreatorImpl. findActiveResultHandles(java.util.Set<ResultHandle> handlesToAllocate)(package private) voidEnumSwitchImpl. findActiveResultHandles(java.util.Set<ResultHandle> handlesToAllocate)(package private) voidStringSwitchImpl. findActiveResultHandles(java.util.Set<ResultHandle> handlesToAllocate)(package private) voidTryBlockImpl. findActiveResultHandles(java.util.Set<ResultHandle> handlesToAllocate)voidBytecodeCreatorImpl.BlockOperation. findResultHandles(java.util.Set<ResultHandle> vc)voidBytecodeCreatorImpl.IfOperation. findResultHandles(java.util.Set<ResultHandle> vc)voidBytecodeCreatorImpl.Operation. findResultHandles(java.util.Set<ResultHandle> vc)Constructor parameters in io.quarkus.gizmo with type arguments of type ResultHandle Constructor Description CustomInvocationGenerator(BytecodeCreator target, java.util.function.BiFunction<BytecodeCreator,ResultHandle[],ResultHandle> fun)
-