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, typeDescription, typeInitializer
Constructor and Description |
---|
Unloaded(TypeDescription typeDescription,
byte[] typeByte,
TypeInitializer typeInitializer,
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() |
getBytes, getDescription, getRawAuxiliaryTypes, getTypeInitializers, hasAliveTypeInitializers, saveIn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBytes, getDescription, getRawAuxiliaryTypes, getTypeInitializers, hasAliveTypeInitializers, saveIn
public Unloaded(TypeDescription typeDescription, byte[] typeByte, TypeInitializer typeInitializer, List<? extends DynamicType> auxiliaryTypes)
typeDescription
- A description of this dynamic type.typeByte
- An array of byte of the binary representation of this dynamic type.typeInitializer
- 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. All rights reserved.