Enum ClassLoaderDecorator.Factory.NoOp

java.lang.Object
java.lang.Enum<ClassLoaderDecorator.Factory.NoOp>
net.bytebuddy.dynamic.loading.ClassLoaderDecorator.Factory.NoOp
All Implemented Interfaces:
Serializable, Comparable<ClassLoaderDecorator.Factory.NoOp>, java.lang.constant.Constable, ClassLoaderDecorator.Factory
Enclosing interface:
ClassLoaderDecorator.Factory

public static enum ClassLoaderDecorator.Factory.NoOp extends Enum<ClassLoaderDecorator.Factory.NoOp> implements ClassLoaderDecorator.Factory
A no-operation factory that creates no-operation class loader decorators.
  • Enum Constant Details

  • Constructor Details

    • NoOp

      private NoOp()
  • Method Details

    • values

      public static ClassLoaderDecorator.Factory.NoOp[] 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 ClassLoaderDecorator.Factory.NoOp 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
    • make

      public ClassLoaderDecorator make(@MaybeNull ClassLoader classLoader, Map<String,byte[]> typeDefinitions)
      Creates a class loader decorator for the given class loader and type definitions.
      Specified by:
      make in interface ClassLoaderDecorator.Factory
      Parameters:
      classLoader - The class loader to decorate or null if the bootstrap class loader is used.
      typeDefinitions - A map of type names to their binary representations for types being loaded.
      Returns:
      A class loader decorator instance.