S - The best known loaded type for the dynamically created type.public static class TypeWriter.Default<S> extends Object implements TypeWriter<S>
TypeWriter.TypeWriter.Default<S>, TypeWriter.Engine, TypeWriter.FieldPool, TypeWriter.MethodPool| Constructor and Description |
|---|
Default(TypeDescription instrumentedType,
LoadedTypeInitializer loadedTypeInitializer,
InstrumentedType.TypeInitializer typeInitializer,
List<DynamicType> explicitAuxiliaryTypes,
ClassFileVersion classFileVersion,
TypeWriter.Engine engine)
Creates a new immutable type writer.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
DynamicType.Unloaded<S> |
make()
Creates the dynamic type that is described by this type writer.
|
String |
toString() |
public Default(TypeDescription instrumentedType, LoadedTypeInitializer loadedTypeInitializer, InstrumentedType.TypeInitializer typeInitializer, List<DynamicType> explicitAuxiliaryTypes, ClassFileVersion classFileVersion, TypeWriter.Engine engine)
instrumentedType - The instrumented type that is to be written.loadedTypeInitializer - The loaded type initializer of the instrumented type.typeInitializer - The type initializer of the instrumented type.explicitAuxiliaryTypes - A list of explicit auxiliary types that are to be added to the created
dynamic type.classFileVersion - The class file version of the type that is to be written.engine - An engine for writing the actual class file for the instrumented type.public DynamicType.Unloaded<S> make()
TypeWritermake in interface TypeWriter<S>Copyright © 2014. All rights reserved.