Uses of Interface
net.bytebuddy.utility.ConstantValue
-
Packages that use ConstantValue Package Description net.bytebuddy.asm The ASM package contains classes that are meant for direct interaction with the ASM API.net.bytebuddy.implementation The implementation package contains any logic for intercepting method calls.net.bytebuddy.utility 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 ConstantValue Modifier and Type Method Description <T extends java.lang.annotation.Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping. bind(java.lang.Class<T> type, ConstantValue constant)Binds the supplied annotation to the given Java constant.<T extends java.lang.annotation.Annotation>
MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMappingMemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping. bind(java.lang.Class<T> type, ConstantValue constant)Binds the supplied annotation to the given Java constant.Constructors in net.bytebuddy.asm with parameters of type ConstantValue Constructor Description Factory(java.lang.Class<T> annotationType, ConstantValue constant)Creates a new factory for binding a Java constant.Factory(java.lang.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 ConstantValue Modifier and Type Field Description private ConstantValueInvokeDynamic.InvocationProvider.ArgumentProvider.ForJavaConstant. constantThe Java instance to provide to the bootstrapped method.Methods in net.bytebuddy.implementation with parameters of type ConstantValue Modifier and Type Method Description Implementation.ComposableFieldAccessor.ForImplicitProperty. setsValue(ConstantValue constant)Defines a setter of a given constant value for the described field.Implementation.ComposableFieldAccessor.PropertyConfigurable. setsValue(ConstantValue constant)Defines a setter of a given constant value for the described field.static FixedValue.AssignerConfigurableFixedValue. value(ConstantValue constant)Returns the loaded version of the givenJavaConstant.MethodCallMethodCall. 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.InvokeDynamicInvokeDynamic. withInstance(ConstantValue... constant)Hands the provided Java instance to the dynamically bound method.Constructors in net.bytebuddy.implementation with parameters of type ConstantValue Constructor Description 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.utility Modifier and Type Interface Description interfaceJavaConstantRepresents a constant-pool constant within a Java class file.Classes in net.bytebuddy.utility that implement ConstantValue Modifier and Type Class Description static classConstantValue.SimpleA simple representation of a constant value.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.static classJavaConstant.Simple<T>Represents a simple Java constant, either a primitive constant, aStringor aClass.protected static classJavaConstant.Simple.OfTrivialValue<S>Represents a trivial constant value that represents itself.protected static classJavaConstant.Simple.OfTrivialValue.ForDoubleprotected static classJavaConstant.Simple.OfTrivialValue.ForFloatprotected static classJavaConstant.Simple.OfTrivialValue.ForIntegerprotected static classJavaConstant.Simple.OfTrivialValue.ForLongprotected static classJavaConstant.Simple.OfTrivialValue.ForStringprotected static classJavaConstant.Simple.OfTypeDescriptionRepresents a type constant.Methods in net.bytebuddy.utility that return ConstantValue Modifier and Type Method Description static ConstantValueConstantValue.Simple. wrap(java.lang.Object value)Returns a constant value for the supplied constant value.static ConstantValueConstantValue.Simple. wrapOrNull(java.lang.Object value)Returns a constant value for the supplied constant value.
-