Package net.bytebuddy.implementation.bytecode.constant
StackManipulations in this package are responsible for
creating compile-time constants and pushing them onto the operand stack.-
Interface Summary Interface Description MethodConstant.CanCache Represents aMethodConstantthat is directly loaded onto the operand stack without caching the value. -
Class Summary Class Description ClassConstant.ForReferenceType A class constant for a non-primitiveClass.DoubleConstant.ConstantPool A stack manipulation for loading adoublevalue from a class's constant pool onto the operand stack.FieldConstant Represents aFieldconstant for a given type.FieldConstant.Cached A cached version of aFieldConstant.FloatConstant.ConstantPool A stack manipulation for loading afloatvalue from a class's constant pool onto the operand stack.IntegerConstant.ConstantPool A stack manipulation that loads a JVM-integer value from a constant pool value onto the operand stack.IntegerConstant.SingleBytePush A stack manipulation that loads a JVM-integer value by aBIPUSHoperation which is legal for single byte integer values.IntegerConstant.TwoBytePush A stack manipulation that loads a JVM-integer value by aSIPUSHoperation which is legal for up to two byte integer values.JavaConstantValue A constant representing aJavaConstant.LongConstant.ConstantPool A stack manipulation for loading alongvalue from a class's constant pool onto the operand stack.MethodConstant Represents the creation of aMethodvalue which can be created from a given set of constant pool values and can therefore be considered a constant in the broader meaning.MethodConstant.CachedConstructor Represents a cached constructor for aMethodConstant.MethodConstant.CachedMethod Represents a cached method for aMethodConstant.MethodConstant.ForConstructor Creates aMethodConstantfor loading aConstructorinstance onto the operand stack.MethodConstant.ForMethod Creates aMethodConstantfor loading aMethodinstance onto the operand stack.MethodConstant.PrivilegedLookup Performs a privileged lookup of a method constant by using anAccessController.SerializedConstant A constant that represents a value in its serialized form.TextConstant Represents aStringvalue that is stored in a type's constant pool. -
Enum Summary Enum Description ClassConstant Represents a constant representing any loaded JavaClass.DefaultValue Represents a stack assignment that loads the default value of a given type onto the stack.DoubleConstant This class is responsible for loading anydoubleconstant onto the operand stack.FloatConstant This class is responsible for loading anyfloatconstant onto the operand stack.IntegerConstant This class is responsible for loading anyintconstant onto the operand stack.LongConstant This class is responsible for loading anylongconstant onto the operand stack.MethodConstant.CanCacheIllegal Represents a method constant that cannot be represented by Java's reflection API.NullConstant Represents a stack manipulation to load anullpointer onto the operand stack.