Enum Plugin.Engine.PoolStrategy.Default

java.lang.Object
java.lang.Enum<Plugin.Engine.PoolStrategy.Default>
net.bytebuddy.build.Plugin.Engine.PoolStrategy.Default
All Implemented Interfaces:
Serializable, Comparable<Plugin.Engine.PoolStrategy.Default>, java.lang.constant.Constable, Plugin.Engine.PoolStrategy
Enclosing interface:
Plugin.Engine.PoolStrategy

public static enum Plugin.Engine.PoolStrategy.Default extends Enum<Plugin.Engine.PoolStrategy.Default> implements Plugin.Engine.PoolStrategy
A default implementation of a pool strategy where type descriptions are resolved lazily.
  • Enum Constant Details

  • Field Details

  • Constructor Details

    • Default

      private Default(TypePool.Default.ReaderMode readerMode)
      Creates a default pool strategy.
      Parameters:
      readerMode - This strategy's reader mode.
  • Method Details

    • values

      public static Plugin.Engine.PoolStrategy.Default[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Plugin.Engine.PoolStrategy.Default valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • typePool

      public TypePool typePool(ClassFileLocator classFileLocator)
      Creates a type pool.
      Specified by:
      typePool in interface Plugin.Engine.PoolStrategy
      Parameters:
      classFileLocator - The class file locator to use.
      Returns:
      An approptiate type pool.