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.protected static class DynamicType.Default.Loaded<T> extends DynamicType.Default implements DynamicType.Loaded<T>
DynamicType.Default.Loaded<T>, DynamicType.Default.Unloaded<T>
DynamicType.Builder<T>, DynamicType.Default, DynamicType.Loaded<T>, DynamicType.Unloaded<T>
auxiliaryTypes, binaryRepresentation, typeDescription, typeInitializer
Modifier | Constructor and Description |
---|---|
protected |
Loaded(TypeDescription typeDescription,
byte[] typeByte,
TypeInitializer typeInitializer,
List<? extends DynamicType> auxiliaryTypes,
Map<TypeDescription,Class<?>> loadedTypes)
Creates a new representation of a loaded dynamic type.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends T> |
getLoaded()
Returns the loaded main class.
|
Map<TypeDescription,Class<?>> |
getLoadedAuxiliaryTypes()
Returns a map of all loaded auxiliary types to this dynamic type.
|
String |
toString() |
getBytes, getDescription, getRawAuxiliaryTypes, getTypeInitializers, hasAliveTypeInitializers, saveIn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBytes, getDescription, getRawAuxiliaryTypes, getTypeInitializers, hasAliveTypeInitializers, saveIn
protected Loaded(TypeDescription typeDescription, byte[] typeByte, TypeInitializer typeInitializer, List<? extends DynamicType> auxiliaryTypes, Map<TypeDescription,Class<?>> loadedTypes)
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.loadedTypes
- A map of loaded types for this dynamic type and all its auxiliary types.public Class<? extends T> getLoaded()
DynamicType.Loaded
getLoaded
in interface DynamicType.Loaded<T>
public Map<TypeDescription,Class<?>> getLoadedAuxiliaryTypes()
DynamicType.Loaded
getLoadedAuxiliaryTypes
in interface DynamicType.Loaded<T>
public String toString()
toString
in class DynamicType.Default
Copyright © 2014. All rights reserved.