Enum Plugin.Engine.PoolStrategy.Eager

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

public static enum Plugin.Engine.PoolStrategy.Eager extends Enum<Plugin.Engine.PoolStrategy.Eager> implements Plugin.Engine.PoolStrategy
A pool strategy that resolves type descriptions eagerly. This can avoid additional overhead if the majority of types is assumed to be resolved eventually.
  • Enum Constant Details

    • FAST

      public static final Plugin.Engine.PoolStrategy.Eager FAST
      Enables faster class file parsing that does not process debug information of a class file.
    • EXTENDED

      public static final Plugin.Engine.PoolStrategy.Eager EXTENDED
      Enables extended class file parsing that extracts parameter names from debug information, if available.
  • Field Details

  • Constructor Details

    • Eager

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

    • values

      public static Plugin.Engine.PoolStrategy.Eager[] 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.Eager 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.