net.bytebuddy.dynamic.DynamicType.Builder or as the result of an
net.bytebuddy.implementation.auxiliary.AuxiliaryType .
Note that the
TypeDescriptions will represent their
unloaded forms and therefore differ from the loaded types, especially with regards to annotations.
| Modifier and Type | Class and Description |
|---|---|
| public static interface | DynamicType.Builder<
A loaded type that the built type is guaranteed to be a subclass of. T>A builder for creating a dynamic type. |
| public static class | DynamicType.Default
A default implementation of a dynamic type. |
| public static interface | DynamicType.Loaded<
The most specific known loaded type that is implemented by this dynamic type, usually the
type itself, an interface or the direct super class. T>A dynamic type that has been loaded into the running instance of the Java virtual machine. |
| public static interface | DynamicType.Unloaded<
The most specific known loaded type that is implemented by this dynamic type, usually the
type itself, an interface or the direct super class. T>A dynamic type that has not yet been loaded by a given |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Redeclares java. |
| public Map | Returns: A mapping from all type descriptions, the actual type and its auxiliary types to their binary representationReturns all types that are implied by this dynamic type. |
| public Map | Returns: A map of all auxiliary types by their descriptions to their binary representation.Returns a map of all auxiliary types that are required for making use of the main type. |
| public byte[] | Returns: A byte array of the type's binary representation.Returns a byte array representing this dynamic type. |
| public Map | Returns: A mapping of all types' descriptions to their loaded type initializers.Returns a map of all loaded type initializers for the main type and all auxiliary types, if any. |
| public TypeDescription | Returns: A description of this dynamic type.Returns a description of this dynamic type. |
| public boolean | Returns: true if this type requires explicit type initialization.Checks if a dynamic type requires some form of explicit type initialization, either for itself or for one of its auxiliary types, if any. |
| public File | |
| public File | |
| public Map | Returns: A map of type descriptions pointing to files with their stored binary representations withinfolder.The base target folder for storing this dynamic type and its auxiliary types, if any. folder)Saves a dynamic type in a given folder using the Java class file format while respecting the naming conventions for saving compiled Java classes. |
| public File | |
| public File |