Class ByteArrayClassLoader.ClassDefinitionAction

java.lang.Object
net.bytebuddy.dynamic.loading.ByteArrayClassLoader.ClassDefinitionAction
All Implemented Interfaces:
PrivilegedAction<Class<?>>
Enclosing class:
ByteArrayClassLoader

@Enhance(includeSyntheticFields=true) protected class ByteArrayClassLoader.ClassDefinitionAction extends Object implements PrivilegedAction<Class<?>>
An action for defining a located class that is not yet loaded.
  • Field Details

    • name

      private final String name
      The binary name of the class to define.
    • binaryRepresentation

      private final byte[] binaryRepresentation
      The binary representation of the class to be loaded.
  • Constructor Details

    • ClassDefinitionAction

      protected ClassDefinitionAction(String name, byte[] binaryRepresentation)
      Creates a new class definition action.
      Parameters:
      name - The binary name of the class to define.
      binaryRepresentation - The binary representation of the class to be loaded.
  • Method Details