Uses of Interface
io.quarkus.gizmo2.Const
Packages that use Const
-
Uses of Const in io.quarkus.gizmo2
Methods in io.quarkus.gizmo2 that return ConstModifier and TypeMethodDescriptionstatic ConstConst.of(boolean value) Returns a constant for the given value.static ConstConst.of(byte value) Returns a constant for the given value.static ConstConst.of(char value) Returns a constant for the given value.static ConstConst.of(double value) Returns a constant for the given value.static ConstReturns a constant for the given value.static ConstConst.of(float value) Returns a constant for the given value.static ConstReturns a constant for the given value.static ConstConst.of(int value) Returns a constant for the given value.static ConstReturns a constant for the given value.static ConstConst.of(long value) Returns a constant for the given value.static ConstReturns a constant for the given value.static ConstConst.of(short value) Returns a constant for the given value.static ConstReturns a constant for the given value.static ConstReturns a constant for the given value.static ConstReturns a constant for the given value.static ConstReturns a constant for the given value.static ConstReturns a constant for the given value.static ConstReturns a constant for the given Constable.static ConstConst.of(ConstantDesc constantDesc) Returns a constant for the given description.static ConstConst.of(DynamicConstantDesc<?> dcd) Returns a constant for the given description.static ConstConst.of(MethodHandleDesc desc) Returns a method handle constant from the given descriptor.static ConstConst.of(MethodTypeDesc desc) Returns a method type constant from the given descriptor.static ConstReturns a constant for the given value.static ConstConst.of(Enum.EnumDesc<?> value) Returns a constant for the given value.static ConstReturns a constant for the given value.static ConstReturns a constant for the given value.static ConstConst.of(VarHandle.VarHandleDesc value) Returns a constant for the given value.static ConstReturns a constant for the given value.static ConstReturns a constant for the given value.static ConstReturns a constant for the given value.static ConstReturns a list constant containing the given items.static ConstReturns a map entry constant with the key and value of the given entry.static ConstReturns a map constant containing the given items.static ConstReturns a set constant containing the given items.static ConstConst.ofArrayVarHandle(ClassDesc arrayType) Returns aVarHandleconstant for the given array type.static ConstConst.ofConstructorMethodHandle(ConstructorDesc desc) Returns a method handle constant from the given constructor descriptor.static ConstReturns a constant with the default value of giventype.static ConstReturns a constant with the default value of giventype.static ConstConst.ofFieldGetterMethodHandle(FieldDesc desc) Returns a method handle for an instance field getter.static ConstConst.ofFieldSetterMethodHandle(FieldDesc desc) Returns a method handle for an instance field setter.static ConstConst.ofFieldVarHandle(FieldDesc desc) Returns aVarHandleconstant for the given instance field.static ConstReturns a constant whose value is the result of a one-time method invocation.static ConstReturns a constant whose value is the result of a one-time method invocation.static ConstConst.ofMethodHandle(InvokeKind kind, MethodDesc desc) Returns a method handle constant from the given information.static ConstReturns anullconstant with the given type.static ConstReturns anullconstant with the given type.static ConstConst.ofStaticFieldGetterMethodHandle(FieldDesc desc) Returns a method handle for a static field getter.static ConstConst.ofStaticFieldSetterMethodHandle(FieldDesc desc) Returns a method handle for a static field setter.static ConstConst.ofStaticFieldVarHandle(FieldDesc desc) Returns aVarHandleconstant for the given static field.static ConstConst.ofStaticFinalField(FieldDesc desc) Returns a constant with the value of the givenstatic finalfield.static ConstConst.ofVoid()Returns thevoidconstant.Methods in io.quarkus.gizmo2 with parameters of type ConstModifier and TypeMethodDescriptionstatic ConstReturns a constant whose value is the result of a one-time method invocation.static ConstReturns a constant whose value is the result of a one-time method invocation.Method parameters in io.quarkus.gizmo2 with type arguments of type Const -
Uses of Const in io.quarkus.gizmo2.creator
Methods in io.quarkus.gizmo2.creator that return ConstModifier and TypeMethodDescriptionTypeCreator.stringListResourceConstant(String name, List<String> items) Create a private constant which loads the given list of strings from a generated resource file.TypeCreator.stringMapResourceConstant(String name, Map<String, String> items) Create a private constant which loads the given map of strings from a generated resource file.TypeCreator.stringSetResourceConstant(String name, Set<String> items) Create a private constant which loads the given set of strings from a generated resource file.Methods in io.quarkus.gizmo2.creator with parameters of type ConstModifier and TypeMethodDescriptiondefault voidSwitchCreator.caseOf(Const val, Consumer<BlockCreator> body) Add a simple switch case.default StaticFieldVarTypeCreator.constantField(String name, Const value) Add a public static final field to this type.voidBlockCreator.dec(Assignable var, Const amount) Decrement some variable by a constant amount.default FieldDescAdd an instance field to this class.voidBlockCreator.gotoCase(SwitchCreator switch_, Const case_) Jump to a specific case in the given enclosingswitch.voidBlockCreator.inc(Assignable var, Const amount) Increment some variable by a constant amount.voidAdd a constant for this case.default voidBlockCreator.set(Assignable var, Const value) Write a value to memory using the declared atomicity mode for the assignable.voidFieldCreator.setInitial(Const initial) Provide an initial constant value for this field.default StaticFieldVarTypeCreator.staticField(String name, Const initial) Add a static field to this type.