Uses of Interface
net.bytebuddy.utility.JavaConstant
-
Packages that use JavaConstant Package Description net.bytebuddy.implementation The implementation package contains any logic for intercepting method calls.net.bytebuddy.implementation.bytecode.constant StackManipulations in this package are responsible for creating compile-time constants and pushing them onto the operand stack.net.bytebuddy.utility This package contains utility classes for common use within any Byte Buddy logic. -
-
Uses of JavaConstant in net.bytebuddy.implementation
Fields in net.bytebuddy.implementation declared as JavaConstant Modifier and Type Field Description private JavaConstantInvokeDynamic.InvocationProvider.ArgumentProvider.ForJavaConstant. javaConstantThe Java instance to provide to the bootstrapped method.Methods in net.bytebuddy.implementation with parameters of type JavaConstant Modifier and Type Method Description Implementation.ComposableFieldAccessor.ForImplicitProperty. setsValue(JavaConstant constant)Defines a setter of a given constant value for the described field.Implementation.ComposableFieldAccessor.PropertyConfigurable. setsValue(JavaConstant constant)Defines a setter of a given constant value for the described field.static FixedValue.AssignerConfigurableFixedValue. value(JavaConstant fixedValue)Returns the loaded version of the givenJavaConstant.MethodCallMethodCall. with(JavaConstant... javaConstant)Defines the given Java instances to be provided as arguments to the invoked method where the given instances are stored in the generated class's constant pool.InvokeDynamicInvokeDynamic.AbstractDelegator. withInstance(JavaConstant... javaConstant)Hands the provided Java instance to the dynamically bound method.InvokeDynamicInvokeDynamic. withInstance(JavaConstant... javaConstant)Hands the provided Java instance to the dynamically bound method.Constructors in net.bytebuddy.implementation with parameters of type JavaConstant Constructor Description ForJavaConstant(JavaConstant javaConstant)Creates a new argument provider for the given Java instance. -
Uses of JavaConstant in net.bytebuddy.implementation.bytecode.constant
Fields in net.bytebuddy.implementation.bytecode.constant declared as JavaConstant Modifier and Type Field Description private JavaConstantJavaConstantValue. javaConstantThe instance to load onto the operand stack.Constructors in net.bytebuddy.implementation.bytecode.constant with parameters of type JavaConstant Constructor Description JavaConstantValue(JavaConstant javaConstant)Creates a constant pool value representing aJavaConstant. -
Uses of JavaConstant in net.bytebuddy.utility
Classes in net.bytebuddy.utility that implement JavaConstant Modifier and Type Class Description static classJavaConstant.DynamicRepresents a dynamically resolved constant pool entry of a class file.static classJavaConstant.MethodHandleRepresents ajava.lang.invoke.MethodHandleobject.static classJavaConstant.MethodTypeRepresents ajava.lang.invoke.MethodTypeobject.Methods in net.bytebuddy.utility that return JavaConstant Modifier and Type Method Description static JavaConstantJavaConstant.Dynamic. ofArrayVarHandle(java.lang.Class<?> type)Resolves a var handle constant for an array.static JavaConstantJavaConstant.Dynamic. ofArrayVarHandle(TypeDescription typeDescription)Resolves a var handle constant for an array.static JavaConstantJavaConstant.Dynamic. ofEnumeration(java.lang.Enum<?> enumeration)Returns aEnumvalue constant.static JavaConstantJavaConstant.Dynamic. ofEnumeration(EnumerationDescription enumerationDescription)Returns aEnumvalue constant.static JavaConstantJavaConstant.Dynamic. ofPrimitiveType(java.lang.Class<?> type)Returns aClassconstant for a primitive type.static JavaConstantJavaConstant.Dynamic. ofPrimitiveType(TypeDescription typeDescription)Returns aClassconstant for a primitive type.static JavaConstantJavaConstant.Dynamic. ofVarHandle(java.lang.reflect.Field field)Resolves a var handle constant for a field.static JavaConstantJavaConstant.Dynamic. ofVarHandle(FieldDescription.InDefinedShape fieldDescription)Resolves a var handle constant for a field.JavaConstantJavaConstant.Dynamic. withType(java.lang.Class<?> type)Resolves thisJavaConstant.Dynamicconstant to resolve the returned instance to the supplied type.JavaConstantJavaConstant.Dynamic. withType(TypeDescription typeDescription)Resolves thisJavaConstant.Dynamicconstant to resolve the returned instance to the supplied type.
-