Class MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForDynamicConstant

java.lang.Object
net.bytebuddy.asm.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForDynamicConstant
All Implemented Interfaces:
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
Enclosing interface:
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping

@Enhance public static class MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForDynamicConstant extends Object implements MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
An offset mapping for a dynamic constant.
  • Field Details

    • name

      private final String name
      The name of the dynamic constant.
    • typeDescription

      private final TypeDescription typeDescription
      The type of the dynamic constant.
    • bootstrapType

      private final JavaConstant.MethodHandle.HandleType bootstrapType
      The type of the bootstrap method.
    • bootstrapOwner

      private final TypeDescription bootstrapOwner
      The type that declares the bootstrap method, or void if the instrumented type.
    • bootstrapName

      private final String bootstrapName
      The name of the bootstrap method.
    • bootstrapReturnType

      private final TypeDescription bootstrapReturnType
      The return type of the boostrap method.
    • bootstrapParameterTypes

      private final List<? extends TypeDescription> bootstrapParameterTypes
      The parameter types of the boostrap method.
    • arguments

      private final List<JavaConstant> arguments
      The constant arguments to the bootstrap method.
    • invokedynamic

      private final boolean invokedynamic
      true if invokedynamic should be used to bind the constant.
  • Constructor Details

    • ForDynamicConstant

      public ForDynamicConstant(String name, TypeDescription typeDescription, JavaConstant.MethodHandle.HandleType bootstrapType, TypeDescription bootstrapOwner, String bootstrapName, TypeDescription bootstrapReturnType, List<? extends TypeDescription> bootstrapParameterTypes, List<JavaConstant> arguments, boolean invokedynamic)
      Creates an offset mapping for a dynamic constant.
      Parameters:
      name - The name of the dynamic constant.
      typeDescription - The type of the dynamic constant.
      bootstrapType - The type of the bootstrap method.
      bootstrapOwner - The type that declares the bootstrap method, or void if the instrumented type.
      bootstrapName - The name of the bootstrap method.
      bootstrapReturnType - The return type of the boostrap method.
      bootstrapParameterTypes - The parameter types of the boostrap method.
      arguments - The constant arguments to the bootstrap method.
      invokedynamic - true if invokedynamic should be used to bind the constant.
  • Method Details