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[] typeByte,
LoadedTypeInitializer loadedTypeInitializer,
List<? extends DynamicType> auxiliaryTypes)
Creates a new unloaded representation of a dynamic type.
|
Modifier and Type | Method and Description |
---|---|
DynamicType.Loaded<T> |
load(ClassLoader classLoader,
ClassLoadingStrategy classLoadingStrategy)
Attempts to load this dynamic type including all of its auxiliary types, if any.
|
String |
toString() |
equals, getAllTypes, getBytes, getLoadedTypeInitializers, getRawAuxiliaryTypes, getTypeDescription, hasAliveLoadedTypeInitializers, hashCode, inject, inject, saveIn, toJar
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAllTypes, getBytes, getLoadedTypeInitializers, getRawAuxiliaryTypes, getTypeDescription, hasAliveLoadedTypeInitializers, inject, inject, saveIn, toJar
public Unloaded(TypeDescription typeDescription, byte[] typeByte, LoadedTypeInitializer loadedTypeInitializer, List<? extends DynamicType> auxiliaryTypes)
typeDescription
- A description of this dynamic type.typeByte
- 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.public DynamicType.Loaded<T> load(ClassLoader classLoader, ClassLoadingStrategy classLoadingStrategy)
DynamicType.Unloaded
load
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.Default
public String toString()
toString
in class DynamicType.Default
Copyright © 2014–2015. All rights reserved.