Package net.bytebuddy

Class NamingStrategy.PrefixingRandom

java.lang.Object
net.bytebuddy.NamingStrategy.AbstractBase
net.bytebuddy.NamingStrategy.PrefixingRandom
All Implemented Interfaces:
NamingStrategy
Enclosing interface:
NamingStrategy

@Enhance public static class NamingStrategy.PrefixingRandom extends NamingStrategy.AbstractBase
A naming strategy that creates a name by prefixing a given class and its package with another package and by appending a random number to the class's simple name.
  • Field Details

  • Constructor Details

    • PrefixingRandom

      public PrefixingRandom(String prefix)
      Creates a new prefixing random naming strategy.
      Parameters:
      prefix - The prefix to append.
  • Method Details