Class Implementation.Context.Default.Factory.WithFixedSuffix

java.lang.Object
net.bytebuddy.implementation.Implementation.Context.Default.Factory.WithFixedSuffix
All Implemented Interfaces:
Implementation.Context.Factory
Enclosing class:
Implementation.Context.Default.Factory

@Enhance public static class Implementation.Context.Default.Factory.WithFixedSuffix extends Object implements Implementation.Context.Factory
A factory for creating a Implementation.Context.Default that uses a given suffix for accessors.
  • Field Details

    • suffix

      private final String suffix
      The suffix to use.
  • Constructor Details

    • WithFixedSuffix

      public WithFixedSuffix(String suffix)
      Creates a factory for an implementation context with a fixed suffix.
      Parameters:
      suffix - The suffix to use.
  • Method Details

    • make

      public Implementation.Context.ExtractableView make(TypeDescription instrumentedType, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, TypeInitializer typeInitializer, ClassFileVersion classFileVersion, ClassFileVersion auxiliaryClassFileVersion)
      Creates a new implementation context.
      Specified by:
      make in interface Implementation.Context.Factory
      Parameters:
      instrumentedType - The description of the type that is currently subject of creation.
      auxiliaryTypeNamingStrategy - The naming strategy for naming an auxiliary type.
      typeInitializer - The type initializer of the created instrumented type.
      classFileVersion - The class file version of the created class.
      auxiliaryClassFileVersion - The class file version of any auxiliary classes.
      Returns:
      An implementation context in its extractable view.