Uses of Interface
net.bytebuddy.utility.ConstantValue
Packages that use ConstantValue
Package
Description
The ASM package contains classes that are meant for direct interaction with the ASM API.
The implementation package contains any logic for intercepting method calls.
This package contains utility classes for common use within any Byte Buddy logic.
-
Uses of ConstantValue in net.bytebuddy.asm
Methods in net.bytebuddy.asm with parameters of type ConstantValueModifier and TypeMethodDescription<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bind
(Class<T> type, ConstantValue constant) Binds the supplied annotation to the given Java constant.MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping.bind
(Class<T> type, ConstantValue constant) Binds the supplied annotation to the given Java constant.Constructors in net.bytebuddy.asm with parameters of type ConstantValueModifierConstructorDescriptionFactory
(Class<T> annotationType, ConstantValue constant) Creates a new factory for binding a Java constant.Factory
(Class<T> annotationType, ConstantValue value) Creates a factory for a given constant value. -
Uses of ConstantValue in net.bytebuddy.implementation
Fields in net.bytebuddy.implementation declared as ConstantValueModifier and TypeFieldDescriptionprivate final ConstantValue
InvokeDynamic.InvocationProvider.ArgumentProvider.ForJavaConstant.constant
The Java instance to provide to the bootstrapped method.Methods in net.bytebuddy.implementation with parameters of type ConstantValueModifier and TypeMethodDescriptionFieldAccessor.ForImplicitProperty.setsValue
(ConstantValue constant) Defines a setter of a given constant value for the described field.FieldAccessor.PropertyConfigurable.setsValue
(ConstantValue constant) Defines a setter of a given constant value for the described field.FixedValue.value
(ConstantValue constant) Returns the loaded version of the givenJavaConstant
.MethodCall.with
(ConstantValue... constant) 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.InvokeDynamic.withInstance
(ConstantValue... constant) Hands the provided Java instance to the dynamically bound method.Constructors in net.bytebuddy.implementation with parameters of type ConstantValueModifierConstructorDescriptionprotected
ForJavaConstant
(ConstantValue constant) Creates a new argument provider for the given Java instance. -
Uses of ConstantValue in net.bytebuddy.utility
Subinterfaces of ConstantValue in net.bytebuddy.utilityModifier and TypeInterfaceDescriptioninterface
Represents a constant-pool constant within a Java class file.Classes in net.bytebuddy.utility that implement ConstantValueModifier and TypeClassDescriptionstatic class
A simple representation of a constant value.static class
Represents a dynamically resolved constant pool entry of a class file.static class
Represents ajava.lang.invoke.MethodHandle
object.static class
Represents ajava.lang.invoke.MethodType
object.static class
protected static class
Represents a trivial constant value that represents itself.protected static class
protected static class
protected static class
protected static class
protected static class
protected static class
Represents a type constant.Methods in net.bytebuddy.utility that return ConstantValueModifier and TypeMethodDescriptionstatic ConstantValue
Returns a constant value for the supplied constant value.static ConstantValue
ConstantValue.Simple.wrapOrNull
(Object value) Returns a constant value for the supplied constant value.