T - The most specific known loaded type that is implemented by this dynamic type, usually the
type itself, an interface or the direct super class.public static class DynamicType.Default.Unloaded<T> extends DynamicType.Default implements DynamicType.Unloaded<T>
DynamicType.Default.Loaded<T>, DynamicType.Default.Unloaded<T>DynamicType.Builder<T>, DynamicType.Default, DynamicType.Loaded<T>, DynamicType.Unloaded<T>auxiliaryTypes, binaryRepresentation, loadedTypeInitializer, typeDescription| Constructor and Description |
|---|
Unloaded(TypeDescription typeDescription,
byte[] binaryRepresentation,
LoadedTypeInitializer loadedTypeInitializer,
List<? extends DynamicType> auxiliaryTypes,
TypeResolutionStrategy.Resolved typeResolutionStrategy)
Creates a new unloaded representation of a dynamic type.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
int |
hashCode() |
DynamicType.Unloaded<T> |
include(DynamicType... dynamicType)
Includes the provided dynamic types as auxiliary types of this instance.
|
DynamicType.Unloaded<T> |
include(List<? extends DynamicType> dynamicType)
Includes the provided dynamic types as auxiliary types of this instance.
|
DynamicType.Loaded<T> |
load(ClassLoader classLoader)
Attempts to load this dynamic type including all of its auxiliary types, if any.
|
DynamicType.Loaded<T> |
load(ClassLoader classLoader,
ClassLoadingStrategy classLoadingStrategy)
Attempts to load this dynamic type including all of its auxiliary types, if any.
|
String |
toString() |
getAllTypes, getAuxiliaryTypes, getBytes, getLoadedTypeInitializers, getTypeDescription, hasAliveLoadedTypeInitializers, inject, inject, saveIn, toJar, toJarclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAllTypes, getAuxiliaryTypes, getBytes, getLoadedTypeInitializers, getTypeDescription, hasAliveLoadedTypeInitializers, inject, inject, saveIn, toJar, toJarpublic Unloaded(TypeDescription typeDescription, byte[] binaryRepresentation, LoadedTypeInitializer loadedTypeInitializer, List<? extends DynamicType> auxiliaryTypes, TypeResolutionStrategy.Resolved typeResolutionStrategy)
typeDescription - A description of this dynamic type.binaryRepresentation - An array of byte of the binary representation of this dynamic type.loadedTypeInitializer - The type initializer of this dynamic type.auxiliaryTypes - The auxiliary types that are required for this dynamic type.typeResolutionStrategy - The type resolution strategy to use for initializing the dynamic type.public DynamicType.Loaded<T> load(ClassLoader classLoader)
DynamicType.Unloadedload in interface DynamicType.Unloaded<T>classLoader - The class loader to use for this class loading.public DynamicType.Loaded<T> load(ClassLoader classLoader, ClassLoadingStrategy classLoadingStrategy)
DynamicType.Unloadedload in interface DynamicType.Unloaded<T>classLoader - The class loader to use for this class loading.classLoadingStrategy - The class loader strategy which should be used for this class loading.ClassLoadingStrategy.Defaultpublic DynamicType.Unloaded<T> include(DynamicType... dynamicType)
DynamicType.Unloadedinclude in interface DynamicType.Unloaded<T>dynamicType - The dynamic types to include.public DynamicType.Unloaded<T> include(List<? extends DynamicType> dynamicType)
DynamicType.Unloadedinclude in interface DynamicType.Unloaded<T>dynamicType - The dynamic types to include.public boolean equals(Object object)
equals in class DynamicType.Defaultpublic int hashCode()
hashCode in class DynamicType.Defaultpublic String toString()
toString in class DynamicType.DefaultCopyright © 2014–2016. All rights reserved.