Uses of Class
io.quarkus.gizmo.ResultHandle
-
Uses of ResultHandle in io.quarkus.gizmo
Subclasses of ResultHandle in io.quarkus.gizmoModifier and TypeClassDescriptionclassA result handle that can be assigned to (also known as an "lvalue").Fields in io.quarkus.gizmo declared as ResultHandleModifier and TypeFieldDescription(package private) final ResultHandle[]BytecodeCreatorImpl.InvokeOperation.args(package private) final ResultHandle[]BytecodeCreatorImpl.NewInstanceOperation.argsprivate ResultHandleBytecodeCreatorImpl.cachedTcclprivate final ResultHandleForEachLoopImpl.elementprivate final ResultHandleCatchBlockCreatorImpl.handleprivate final ResultHandleFunctionCreatorImpl.instanceprotected final ResultHandleGizmo.InstanceInvocationGenerator.instanceprivate final ResultHandleGizmo.StringBuilderGenerator.instance(package private) static final ResultHandleResultHandle.NULL(package private) final ResultHandleBytecodeCreatorImpl.InvokeOperation.objectprivate final ResultHandleBytecodeCreatorImpl.AssignOperation.resolvedTargetprivate final ResultHandleBytecodeCreatorImpl.AssignOperation.resolvedValue(package private) final ResultHandleBytecodeCreatorImpl.InvokeOperation.resultHandle(package private) final ResultHandleBytecodeCreatorImpl.NewInstanceOperation.resultHandle(package private) final ResultHandleFunctionCreatorImpl.CapturedResultHandle.substituteprivate final ResultHandleBytecodeCreatorImpl.IfOperation.value1private final ResultHandleBytecodeCreatorImpl.IfOperation.value2Fields in io.quarkus.gizmo with type parameters of type ResultHandleModifier and TypeFieldDescriptionprivate final Map<ResultHandle, FunctionCreatorImpl.CapturedResultHandle> FunctionCreatorImpl.capturedResultHandlesprivate final BiFunction<BytecodeCreator, ResultHandle[], ResultHandle> Gizmo.CustomInvocationGenerator.funMethods in io.quarkus.gizmo with type parameters of type ResultHandleModifier and TypeMethodDescription(package private) <R extends ResultHandle>
RBytecodeCreatorImpl.checkScope(R handle) Methods in io.quarkus.gizmo that return ResultHandleModifier and TypeMethodDescriptionBytecodeCreator.add(ResultHandle a1, ResultHandle a2) Adds the two result handles together and returns the resultBytecodeCreatorImpl.add(ResultHandle a1, ResultHandle a2) Gizmo.JdkCollection.JdkCollectionInstance.add(ResultHandle element) Gizmo.JdkCollection.JdkCollectionInstance.addAll(ResultHandle collection) private ResultHandleBytecodeCreatorImpl.allocateResult(String returnType) BytecodeCreator.arrayLength(ResultHandle array) BytecodeCreatorImpl.arrayLength(ResultHandle array) BytecodeCreator.bitwiseAnd(ResultHandle a1, ResultHandle a2) Computes the bitwise AND of the two result handles and returns the resultBytecodeCreatorImpl.bitwiseAnd(ResultHandle a1, ResultHandle a2) BytecodeCreator.bitwiseOr(ResultHandle a1, ResultHandle a2) Computes the bitwise OR of the two result handles and returns the resultBytecodeCreatorImpl.bitwiseOr(ResultHandle a1, ResultHandle a2) BytecodeCreator.bitwiseXor(ResultHandle a1, ResultHandle a2) Computes the bitwise XOR of the two result handles and returns the resultBytecodeCreatorImpl.bitwiseXor(ResultHandle a1, ResultHandle a2) protected ResultHandleClassTransfromerMethodCreatorImpl.ClassTransformerEnumSwitchImpl.callSwitchTableMethod(String methodName, Class<E> enumClass, MethodDescriptor enumOrdinal) protected ResultHandleEnumSwitchImpl.callSwitchTableMethod(String methodName, Class<E> enumClass, MethodDescriptor enumOrdinal) Gizmo.StringBuilderGenerator.callToString()default ResultHandleBytecodeCreator.checkCast(ResultHandle resultHandle, Class<?> castTarget) Perform a check cast operation which transforms the type of the given result handle.BytecodeCreator.checkCast(ResultHandle resultHandle, String castTarget) Perform a check cast operation which transforms the type of the given result handle.BytecodeCreatorImpl.checkCast(ResultHandle resultHandle, String castTarget) (package private) ResultHandle[]BytecodeCreatorImpl.checkScope(ResultHandle[] handles) BytecodeCreator.compareDouble(ResultHandle value1, ResultHandle value2, boolean nanComparesAsGreater) Compares twodoublevalues and pushes the resulting integer to the stack.BytecodeCreatorImpl.compareDouble(ResultHandle value1, ResultHandle value2, boolean nanComparesAsGreater) BytecodeCreator.compareFloat(ResultHandle value1, ResultHandle value2, boolean nanComparesAsGreater) Compares twofloatvalues and pushes the resulting integer to the stack.BytecodeCreatorImpl.compareFloat(ResultHandle value1, ResultHandle value2, boolean nanComparesAsGreater) BytecodeCreator.compareLong(ResultHandle value1, ResultHandle value2) Compares twolongvalues and pushes the resulting integer to the stack.BytecodeCreatorImpl.compareLong(ResultHandle value1, ResultHandle value2) Gizmo.JdkCollection.JdkCollectionInstance.contains(ResultHandle obj) Gizmo.JdkMap.JdkMapInstance.containsKey(ResultHandle key) BytecodeCreator.convertPrimitive(ResultHandle value, 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.BytecodeCreatorImpl.convertPrimitive(ResultHandle value, Class<?> conversionTarget) Gizmo.JdkList.copyOf(ResultHandle collection) Gizmo.JdkMap.copyOf(ResultHandle map) Gizmo.JdkSet.copyOf(ResultHandle collection) BytecodeCreator.divide(ResultHandle a1, ResultHandle a2) Divides the first result handle by the second and returns the resultBytecodeCreatorImpl.divide(ResultHandle a1, ResultHandle a2) ForEachLoop.element()ForEachLoopImpl.element()private ResultHandleBytecodeCreatorImpl.emitBinaryArithmetic(int intOpcode, ResultHandle a1, ResultHandle a2) private ResultHandleBytecodeCreatorImpl.emitCompare(int opcode, String expectedType, ResultHandle value1, ResultHandle value2) static ResultHandleGizmo.equals(BytecodeCreator target, ResultHandle obj1, ResultHandle obj2) Generates the bytecode that callsObject.equals(Object).protected final ResultHandleEnumSwitchImpl.generateSwitchTable(Class<E> enumClass, BytecodeCreator bytecodeCreator, MethodDescriptor enumOrdinal) Gizmo.JdkList.JdkListInstance.get(int index) Gizmo.JdkList.JdkListInstance.get(ResultHandle index) Gizmo.JdkMap.JdkMapInstance.get(ResultHandle key) Gizmo.JdkOptional.JdkOptionalInstance.get()CatchBlockCreator.getCaughtException()CatchBlockCreatorImpl.getCaughtException()FunctionCreator.getInstance()FunctionCreatorImpl.getInstance()Gizmo.StringBuilderGenerator.getInstance()BytecodeCreator.getMethodParam(int i) BytecodeCreatorImpl.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()BytecodeCreator.getThis()BytecodeCreatorImpl.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()Gizmo.JdkIterator.JdkIteratorInstance.hasNext()default ResultHandleBytecodeCreator.increment(ResultHandle toIncrement) Increments a ResultHandledefault ResultHandleBytecodeCreator.instanceOf(ResultHandle resultHandle, Class<?> testType) Checks if the given resultHandle is an instance of the target typeBytecodeCreator.instanceOf(ResultHandle resultHandle, String testType) Checks if the given resultHandle is an instance of the target typeBytecodeCreatorImpl.instanceOf(ResultHandle resultHandle, String castTarget) Gizmo.CustomInvocationGenerator.invoke(ResultHandle... args) BytecodeCreator.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.BytecodeCreatorImpl.invokeInterfaceMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args) BytecodeCreator.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.BytecodeCreatorImpl.invokeSpecialInterfaceMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args) FunctionCreatorImpl.FunctionBytecodeCreator.invokeSpecialInterfaceMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args) BytecodeCreator.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.BytecodeCreatorImpl.invokeSpecialMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args) FunctionCreatorImpl.FunctionBytecodeCreator.invokeSpecialMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args) BytecodeCreator.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.BytecodeCreatorImpl.invokeStaticInterfaceMethod(MethodDescriptor descriptor, ResultHandle... args) BytecodeCreator.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.BytecodeCreatorImpl.invokeStaticMethod(MethodDescriptor descriptor, ResultHandle... args) BytecodeCreator.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.BytecodeCreatorImpl.invokeVirtualMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args) Gizmo.JdkCollection.JdkCollectionInstance.isEmpty()Gizmo.JdkMap.JdkMapInstance.isEmpty()Gizmo.JdkOptional.JdkOptionalInstance.isEmpty()Gizmo.JdkOptional.JdkOptionalInstance.isPresent()Gizmo.JdkIterable.JdkIterableInstance.iterator()BytecodeCreator.load(boolean val) Returns aResultHandlerepresenting the specified valueBytecodeCreator.load(byte val) Returns aResultHandlerepresenting the specified valueBytecodeCreator.load(char val) Returns aResultHandlerepresenting the specified valueBytecodeCreator.load(double val) Returns aResultHandlerepresenting the specified valueBytecodeCreator.load(float val) Returns aResultHandlerepresenting the specified valueBytecodeCreator.load(int val) Returns aResultHandlerepresenting the specified valueBytecodeCreator.load(long val) Returns aResultHandlerepresenting the specified valueBytecodeCreator.load(short val) Returns aResultHandlerepresenting the specified valuedefault ResultHandleReturns aResultHandlerepresenting the specified valueReturns aResultHandlerepresenting the specified valueBytecodeCreatorImpl.load(boolean val) BytecodeCreatorImpl.load(byte val) BytecodeCreatorImpl.load(char val) BytecodeCreatorImpl.load(double val) BytecodeCreatorImpl.load(float val) BytecodeCreatorImpl.load(int val) BytecodeCreatorImpl.load(long val) BytecodeCreatorImpl.load(short val) Implementation detail: when the string to be loaded is larger thanBytecodeCreatorImpl.MAX_STRING_LENGTH, then aStringBuilderis used to construct the final String.default ResultHandleReturns 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.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.private ResultHandleprivate ResultHandleBytecodeCreatorImpl.loadClassConstant(String className) default ResultHandleBytecodeCreator.loadClassFromTCCL(Class<?> val) Returns aResultHandlerepresenting the specified class loaded from the TCCL.BytecodeCreator.loadClassFromTCCL(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.BytecodeCreatorImpl.loadClassFromTCCL(String className) BytecodeCreator.loadNull()Returns aResultHandlerepresentingnull}BytecodeCreatorImpl.loadNull()default ResultHandleBytecodeCreator.marshalAsArray(Class<?> arrayClass, ResultHandle... params) BytecodeCreator.multiply(ResultHandle a1, ResultHandle a2) Multiplies the two result handles together and returns the resultBytecodeCreatorImpl.multiply(ResultHandle a1, ResultHandle a2) default ResultHandledefault ResultHandleBytecodeCreator.newArray(Class<?> type, ResultHandle length) default ResultHandleBytecodeCreator.newArray(String type, ResultHandle length) BytecodeCreatorImpl.newArray(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.BytecodeCreator.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 resultBytecodeCreatorImpl.newInstance(MethodDescriptor descriptor, ResultHandle... args) Gizmo.JdkIterator.JdkIteratorInstance.next()Gizmo.JdkList.of()Gizmo.JdkList.of(ResultHandle e1) Gizmo.JdkList.of(ResultHandle... elements) Gizmo.JdkList.of(ResultHandle e1, ResultHandle e2) Gizmo.JdkList.of(ResultHandle e1, ResultHandle e2, ResultHandle e3) Gizmo.JdkMap.of()Gizmo.JdkMap.of(ResultHandle k1, ResultHandle v1) Gizmo.JdkOptional.of(ResultHandle value) Gizmo.JdkSet.of()Gizmo.JdkSet.of(ResultHandle e1) Gizmo.JdkSet.of(ResultHandle... elements) Gizmo.JdkSet.of(ResultHandle e1, ResultHandle e2) Gizmo.JdkSet.of(ResultHandle e1, ResultHandle e2, ResultHandle e3) Gizmo.JdkOptional.ofNullable(ResultHandle value) Gizmo.JdkMap.JdkMapInstance.put(ResultHandle key, ResultHandle val) default ResultHandleBytecodeCreator.readArrayValue(ResultHandle array, int index) BytecodeCreator.readArrayValue(ResultHandle array, ResultHandle index) BytecodeCreatorImpl.readArrayValue(ResultHandle array, ResultHandle index) BytecodeCreator.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.BytecodeCreatorImpl.readInstanceField(FieldDescriptor fieldDescriptor, ResultHandle instance) BytecodeCreator.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.BytecodeCreatorImpl.readStaticField(FieldDescriptor fieldDescriptor) BytecodeCreator.remainder(ResultHandle a1, ResultHandle a2) Computes the remainder after division of the first result handle by the second and returns the resultBytecodeCreatorImpl.remainder(ResultHandle a1, ResultHandle a2) private ResultHandle[]BytecodeCreatorImpl.requireNonNullHandles(ResultHandle[] handles) (package private) ResultHandle[]BytecodeCreatorImpl.resolve(BytecodeCreator creator, ResultHandle... handles) (package private) final ResultHandleBytecodeCreatorImpl.resolve(ResultHandle handle) (package private) final 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) Gizmo.JdkCollection.JdkCollectionInstance.size()Gizmo.JdkMap.JdkMapInstance.size()BytecodeCreator.subtract(ResultHandle a1, ResultHandle a2) Subtracts the second result handle from the first result and returns the resultBytecodeCreatorImpl.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 ResultHandleModifier and TypeMethodDescription(package private) Set<ResultHandle> FunctionCreatorImpl.getCapturedResultHandles()(package private) Set<ResultHandle> BytecodeCreatorImpl.AssignOperation.getInputResultHandles()(package private) Set<ResultHandle> BytecodeCreatorImpl.BlockOperation.getInputResultHandles()(package private) Set<ResultHandle> BytecodeCreatorImpl.IfOperation.getInputResultHandles()(package private) Set<ResultHandle> BytecodeCreatorImpl.InvokeOperation.getInputResultHandles()(package private) Set<ResultHandle> BytecodeCreatorImpl.JumpOperation.getInputResultHandles()(package private) Set<ResultHandle> BytecodeCreatorImpl.NewInstanceOperation.getInputResultHandles()(package private) abstract 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 ResultHandleModifier and TypeMethodDescriptionBytecodeCreator.add(ResultHandle a1, ResultHandle a2) Adds the two result handles together and returns the resultBytecodeCreatorImpl.add(ResultHandle a1, ResultHandle a2) Gizmo.JdkCollection.JdkCollectionInstance.add(ResultHandle element) Gizmo.JdkCollection.JdkCollectionInstance.addAll(ResultHandle collection) (package private) FunctionCreatorImplMethodCreatorImpl.addFunctionBody(ResultHandle instance, ClassCreator cc, MethodCreatorImpl mc, BytecodeCreatorImpl owner) Gizmo.StringBuilderGenerator.append(ResultHandle value) BytecodeCreator.arrayLength(ResultHandle array) BytecodeCreatorImpl.arrayLength(ResultHandle array) voidBytecodeCreator.assign(AssignableResultHandle target, ResultHandle value) Assign the given value to the given assignable target.voidBytecodeCreatorImpl.assign(AssignableResultHandle target, ResultHandle value) BytecodeCreator.bitwiseAnd(ResultHandle a1, ResultHandle a2) Computes the bitwise AND of the two result handles and returns the resultBytecodeCreatorImpl.bitwiseAnd(ResultHandle a1, ResultHandle a2) BytecodeCreator.bitwiseOr(ResultHandle a1, ResultHandle a2) Computes the bitwise OR of the two result handles and returns the resultBytecodeCreatorImpl.bitwiseOr(ResultHandle a1, ResultHandle a2) BytecodeCreator.bitwiseXor(ResultHandle a1, ResultHandle a2) Computes the bitwise XOR of the two result handles and returns the resultBytecodeCreatorImpl.bitwiseXor(ResultHandle a1, ResultHandle a2) default ResultHandleBytecodeCreator.checkCast(ResultHandle resultHandle, Class<?> castTarget) Perform a check cast operation which transforms the type of the given result handle.BytecodeCreator.checkCast(ResultHandle resultHandle, String castTarget) Perform a check cast operation which transforms the type of the given result handle.BytecodeCreatorImpl.checkCast(ResultHandle resultHandle, String castTarget) (package private) ResultHandle[]BytecodeCreatorImpl.checkScope(ResultHandle[] handles) BytecodeCreator.compareDouble(ResultHandle value1, ResultHandle value2, boolean nanComparesAsGreater) Compares twodoublevalues and pushes the resulting integer to the stack.BytecodeCreatorImpl.compareDouble(ResultHandle value1, ResultHandle value2, boolean nanComparesAsGreater) BytecodeCreator.compareFloat(ResultHandle value1, ResultHandle value2, boolean nanComparesAsGreater) Compares twofloatvalues and pushes the resulting integer to the stack.BytecodeCreatorImpl.compareFloat(ResultHandle value1, ResultHandle value2, boolean nanComparesAsGreater) BytecodeCreator.compareLong(ResultHandle value1, ResultHandle value2) Compares twolongvalues and pushes the resulting integer to the stack.BytecodeCreatorImpl.compareLong(ResultHandle value1, ResultHandle value2) Gizmo.JdkCollection.JdkCollectionInstance.contains(ResultHandle obj) Gizmo.JdkMap.JdkMapInstance.containsKey(ResultHandle key) BytecodeCreator.convertPrimitive(ResultHandle value, 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.BytecodeCreatorImpl.convertPrimitive(ResultHandle value, Class<?> conversionTarget) Gizmo.JdkList.copyOf(ResultHandle collection) Gizmo.JdkMap.copyOf(ResultHandle map) Gizmo.JdkSet.copyOf(ResultHandle collection) (package private) BytecodeCreatorImpl.OperationBytecodeCreatorImpl.createNewInstanceOp(ResultHandle handle, MethodDescriptor descriptor, ResultHandle[] args) BytecodeCreator.divide(ResultHandle a1, ResultHandle a2) Divides the first result handle by the second and returns the resultBytecodeCreatorImpl.divide(ResultHandle a1, ResultHandle a2) IfThenElse.elseIf(ResultHandle condition) Creates a new else-if statement.IfThenElseImpl.elseIf(ResultHandle value) private ResultHandleBytecodeCreatorImpl.emitBinaryArithmetic(int intOpcode, ResultHandle a1, ResultHandle a2) private ResultHandleBytecodeCreatorImpl.emitCompare(int opcode, String expectedType, ResultHandle value1, ResultHandle value2) <E extends Enum<E>>
Switch.EnumSwitch<E> BytecodeCreator.enumSwitch(ResultHandle value, Class<E> enumClass) Create a new switch construct for an enum constant.<E extends Enum<E>>
Switch.EnumSwitch<E> BytecodeCreatorImpl.enumSwitch(ResultHandle value, Class<E> enumClass) <E extends Enum<E>>
Switch.EnumSwitch<E> ClassTransfromerMethodCreatorImpl.enumSwitch(ResultHandle value, Class<E> enumClass) static ResultHandleGizmo.equals(BytecodeCreator target, ResultHandle obj1, ResultHandle obj2) Generates the bytecode that callsObject.equals(Object).BytecodeCreator.forEach(ResultHandle iterable) Create a new for-each loop construct.BytecodeCreatorImpl.forEach(ResultHandle iterable) Gizmo.JdkList.JdkListInstance.get(ResultHandle index) Gizmo.JdkMap.JdkMapInstance.get(ResultHandle key) BytecodeCreator.ifFalse(ResultHandle resultHandle) An if statement.BytecodeCreatorImpl.ifFalse(ResultHandle resultHandle) BytecodeCreator.ifGreaterEqualZero(ResultHandle resultHandle) An if statement.BytecodeCreatorImpl.ifGreaterEqualZero(ResultHandle resultHandle) BytecodeCreator.ifGreaterThanZero(ResultHandle resultHandle) An if statement.BytecodeCreatorImpl.ifGreaterThanZero(ResultHandle resultHandle) BytecodeCreator.ifIntegerEqual(ResultHandle value1, ResultHandle value2) An if statement.BytecodeCreatorImpl.ifIntegerEqual(ResultHandle value1, ResultHandle value2) BytecodeCreator.ifIntegerGreaterEqual(ResultHandle value1, ResultHandle value2) An if statement.BytecodeCreatorImpl.ifIntegerGreaterEqual(ResultHandle value1, ResultHandle value2) BytecodeCreator.ifIntegerGreaterThan(ResultHandle value1, ResultHandle value2) An if statement.BytecodeCreatorImpl.ifIntegerGreaterThan(ResultHandle value1, ResultHandle value2) BytecodeCreator.ifIntegerLessEqual(ResultHandle value1, ResultHandle value2) An if statement.BytecodeCreatorImpl.ifIntegerLessEqual(ResultHandle value1, ResultHandle value2) BytecodeCreator.ifIntegerLessThan(ResultHandle value1, ResultHandle value2) An if statement.BytecodeCreatorImpl.ifIntegerLessThan(ResultHandle value1, ResultHandle value2) BytecodeCreator.ifLessEqualZero(ResultHandle resultHandle) An if statement.BytecodeCreatorImpl.ifLessEqualZero(ResultHandle resultHandle) BytecodeCreator.ifLessThanZero(ResultHandle resultHandle) An if statement.BytecodeCreatorImpl.ifLessThanZero(ResultHandle resultHandle) BytecodeCreator.ifNonZero(ResultHandle resultHandle) An if statement.BytecodeCreatorImpl.ifNonZero(ResultHandle resultHandle) BytecodeCreator.ifNotNull(ResultHandle resultHandle) An if statement.BytecodeCreatorImpl.ifNotNull(ResultHandle resultHandle) BytecodeCreator.ifNull(ResultHandle resultHandle) An if statement.BytecodeCreatorImpl.ifNull(ResultHandle resultHandle) BytecodeCreator.ifReferencesEqual(ResultHandle ref1, ResultHandle ref2) An if statement.BytecodeCreatorImpl.ifReferencesEqual(ResultHandle ref1, ResultHandle ref2) BytecodeCreator.ifReferencesNotEqual(ResultHandle ref1, ResultHandle ref2) An if statement.BytecodeCreatorImpl.ifReferencesNotEqual(ResultHandle ref1, ResultHandle ref2) BytecodeCreator.ifThenElse(ResultHandle condition) Create a new if-then-else construct.BytecodeCreatorImpl.ifThenElse(ResultHandle value) BytecodeCreator.ifTrue(ResultHandle resultHandle) An if statement.BytecodeCreatorImpl.ifTrue(ResultHandle resultHandle) private BranchResultBytecodeCreatorImpl.ifValue(ResultHandle resultHandle, int opcode, String opType) private BranchResultBytecodeCreatorImpl.ifValues(ResultHandle resultHandle1, ResultHandle resultHandle2, int opcode, String opType) BytecodeCreator.ifZero(ResultHandle resultHandle) An if statement.BytecodeCreatorImpl.ifZero(ResultHandle resultHandle) default ResultHandleBytecodeCreator.increment(ResultHandle toIncrement) Increments a ResultHandleGizmo.JdkMap.instance(ResultHandle map) Deprecated.default ResultHandleBytecodeCreator.instanceOf(ResultHandle resultHandle, Class<?> testType) Checks if the given resultHandle is an instance of the target typeBytecodeCreator.instanceOf(ResultHandle resultHandle, String testType) Checks if the given resultHandle is an instance of the target typeBytecodeCreatorImpl.instanceOf(ResultHandle resultHandle, String castTarget) Gizmo.CustomInvocationGenerator.invoke(ResultHandle... args) BytecodeCreator.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.BytecodeCreatorImpl.invokeInterfaceMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args) BytecodeCreator.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.BytecodeCreatorImpl.invokeSpecialInterfaceMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args) FunctionCreatorImpl.FunctionBytecodeCreator.invokeSpecialInterfaceMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args) BytecodeCreator.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.BytecodeCreatorImpl.invokeSpecialMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args) FunctionCreatorImpl.FunctionBytecodeCreator.invokeSpecialMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args) BytecodeCreator.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.BytecodeCreatorImpl.invokeStaticInterfaceMethod(MethodDescriptor descriptor, ResultHandle... args) BytecodeCreator.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.BytecodeCreatorImpl.invokeStaticMethod(MethodDescriptor descriptor, ResultHandle... args) BytecodeCreator.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.BytecodeCreatorImpl.invokeVirtualMethod(MethodDescriptor descriptor, ResultHandle object, ResultHandle... args) (package private) voidBytecodeCreatorImpl.loadResultHandle(org.objectweb.asm.MethodVisitor methodVisitor, ResultHandle handle, BytecodeCreatorImpl bc, String expectedType) (package private) voidBytecodeCreatorImpl.loadResultHandle(org.objectweb.asm.MethodVisitor methodVisitor, ResultHandle handle, BytecodeCreatorImpl bc, String expectedType, boolean dontCast) default ResultHandleBytecodeCreator.marshalAsArray(Class<?> arrayClass, ResultHandle... params) BytecodeCreator.multiply(ResultHandle a1, ResultHandle a2) Multiplies the two result handles together and returns the resultBytecodeCreatorImpl.multiply(ResultHandle a1, ResultHandle a2) default ResultHandleBytecodeCreator.newArray(Class<?> type, ResultHandle length) BytecodeCreator.newArray(String type, ResultHandle length) BytecodeCreatorImpl.newArray(String type, ResultHandle length) BytecodeCreator.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 resultBytecodeCreatorImpl.newInstance(MethodDescriptor descriptor, ResultHandle... args) Gizmo.JdkList.of(ResultHandle e1) Gizmo.JdkList.of(ResultHandle... elements) Gizmo.JdkList.of(ResultHandle e1, ResultHandle e2) Gizmo.JdkList.of(ResultHandle e1, ResultHandle e2, ResultHandle e3) Gizmo.JdkMap.of(ResultHandle k1, ResultHandle v1) Gizmo.JdkOptional.of(ResultHandle value) Gizmo.JdkSet.of(ResultHandle e1) Gizmo.JdkSet.of(ResultHandle... elements) Gizmo.JdkSet.of(ResultHandle e1, ResultHandle e2) Gizmo.JdkSet.of(ResultHandle e1, ResultHandle e2, ResultHandle e3) Gizmo.JdkOptional.ofNullable(ResultHandle value) Gizmo.JdkCollection.on(ResultHandle list) Gizmo.JdkIterable.on(ResultHandle iterable) Gizmo.JdkIterator.on(ResultHandle iterator) Gizmo.JdkList.on(ResultHandle list) Gizmo.JdkMap.on(ResultHandle map) Gizmo.JdkOptional.on(ResultHandle optional) Gizmo.JdkSet.on(ResultHandle set) Gizmo.JdkMap.JdkMapInstance.put(ResultHandle key, ResultHandle val) default ResultHandleBytecodeCreator.readArrayValue(ResultHandle array, int index) BytecodeCreator.readArrayValue(ResultHandle array, ResultHandle index) BytecodeCreatorImpl.readArrayValue(ResultHandle array, ResultHandle index) BytecodeCreator.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.BytecodeCreatorImpl.readInstanceField(FieldDescriptor fieldDescriptor, ResultHandle instance) BytecodeCreator.remainder(ResultHandle a1, ResultHandle a2) Computes the remainder after division of the first result handle by the second and returns the resultBytecodeCreatorImpl.remainder(ResultHandle a1, ResultHandle a2) private ResultHandle[]BytecodeCreatorImpl.requireNonNullHandles(ResultHandle[] handles) (package private) ResultHandle[]BytecodeCreatorImpl.resolve(BytecodeCreator creator, ResultHandle... handles) (package private) final ResultHandleBytecodeCreatorImpl.resolve(ResultHandle handle) (package private) final 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) BytecodeCreator.stringSwitch(ResultHandle value) Create a new switch construct for a string value.BytecodeCreatorImpl.stringSwitch(ResultHandle value) BytecodeCreator.subtract(ResultHandle a1, ResultHandle a2) Subtracts the second result handle from the first result and returns the resultBytecodeCreatorImpl.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 Throwable>
voidBytecodeCreator.throwException(Class<T> exceptionType, 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 ResultHandleModifier and TypeMethodDescriptionIfThenElse.elseIf(Function<BytecodeCreator, ResultHandle> test) Creates a new else-if statement.IfThenElseImpl.elseIf(Function<BytecodeCreator, ResultHandle> test) (package private) voidBytecodeCreatorImpl.findActiveResultHandles(Set<ResultHandle> handlesToAllocate) (package private) voidEnumSwitchImpl.findActiveResultHandles(Set<ResultHandle> handlesToAllocate) (package private) voidStringSwitchImpl.findActiveResultHandles(Set<ResultHandle> handlesToAllocate) (package private) voidTryBlockImpl.findActiveResultHandles(Set<ResultHandle> handlesToAllocate) voidBytecodeCreatorImpl.BlockOperation.findResultHandles(Set<ResultHandle> vc) voidBytecodeCreatorImpl.IfOperation.findResultHandles(Set<ResultHandle> vc) voidBytecodeCreatorImpl.Operation.findResultHandles(Set<ResultHandle> vc) Constructors in io.quarkus.gizmo with parameters of type ResultHandleModifierConstructorDescriptionAssignOperation(ResultHandle resolvedValue, ResultHandle resolvedTarget) privateCapturedResultHandle(ResultHandle substitute, FieldDescriptor descriptor) ClassTransformerEnumSwitchImpl(ResultHandle value, Class<E> enumClass) EnumSwitchImpl(ResultHandle value, Class<E> enumClass, BytecodeCreatorImpl enclosing) (package private)ForEachLoopImpl(BytecodeCreatorImpl enclosing, ResultHandle iterable) (package private)FunctionCreatorImpl(ResultHandle instance, ClassCreator classCreator, MethodCreatorImpl methodCreator, BytecodeCreatorImpl owner) (package private)IfOperation(int opcode, String opType, ResultHandle value, BytecodeCreatorImpl trueBranch, BytecodeCreatorImpl falseBranch) (package private)IfOperation(int opcode, String opType, ResultHandle value1, ResultHandle value2, BytecodeCreatorImpl trueBranch, BytecodeCreatorImpl falseBranch) IfThenElseImpl(BytecodeCreatorImpl enclosing, ResultHandle value) (package private)InstanceInvocationGenerator(ResultHandle instance) (package private)InvokeOperation(ResultHandle resultHandle, MethodDescriptor descriptor, ResultHandle[] args, boolean isInterface) (package private)InvokeOperation(ResultHandle resultHandle, MethodDescriptor descriptor, ResultHandle object, ResultHandle[] args, boolean interfaceMethod, boolean specialMethod) (package private)JdkCollectionInstance(ResultHandle instance) (package private)JdkIterableInstance(ResultHandle instance) (package private)JdkIteratorInstance(ResultHandle instance) (package private)JdkListInstance(ResultHandle instance) (package private)JdkMapInstance(ResultHandle instance) (package private)JdkOptionalInstance(ResultHandle instance) (package private)JdkSetInstance(ResultHandle instance) (package private)NewInstanceOperation(ResultHandle resultHandle, MethodDescriptor descriptor, ResultHandle[] args) StringSwitchImpl(ResultHandle value, BytecodeCreatorImpl enclosing) Constructor parameters in io.quarkus.gizmo with type arguments of type ResultHandleModifierConstructorDescriptionCustomInvocationGenerator(BytecodeCreator target, BiFunction<BytecodeCreator, ResultHandle[], ResultHandle> fun)
Gizmo.JdkMap.on(ResultHandle)