U
- The best known loaded type for the dynamically created type.public static class TypeWriter.Default.ForInlining<U> extends TypeWriter.Default<U>
Modifier and Type | Class and Description |
---|---|
protected static class |
TypeWriter.Default.ForInlining.ContextRegistry
A context registry allows to extract auxiliary types from a lazily created implementation context.
|
protected static interface |
TypeWriter.Default.ForInlining.InitializationHandler
An initialization handler is responsible for handling the creation of the type initializer.
|
protected class |
TypeWriter.Default.ForInlining.RedefinitionClassVisitor
A class visitor which is capable of applying a redefinition of an existing class file.
|
TypeWriter.Default.ClassDumpAction, TypeWriter.Default.ForCreation<U>, TypeWriter.Default.ForInlining<U>, TypeWriter.Default.FrameComputingClassWriter, TypeWriter.Default.UnresolvedType, TypeWriter.Default.ValidatingClassVisitor
TypeWriter.Default<S>, TypeWriter.FieldPool, TypeWriter.MethodPool
annotationRetention, annotationValueFilterFactory, asmVisitorWrapper, auxiliaryTypeNamingStrategy, auxiliaryTypes, classFileVersion, fieldPool, fields, implementationContextFactory, instrumentedMethods, instrumentedType, loadedTypeInitializer, methods, typeAttributeAppender, typeInitializer, typePool, typeValidation
DUMP_PROPERTY
Modifier | Constructor and Description |
---|---|
protected |
ForInlining(TypeDescription instrumentedType,
ClassFileVersion classFileVersion,
TypeWriter.FieldPool fieldPool,
MethodRegistry.Prepared methodRegistry,
Implementation.Target.Factory implementationTargetFactory,
List<DynamicType> explicitAuxiliaryTypes,
FieldList<FieldDescription.InDefinedShape> fields,
MethodList<?> methods,
MethodList<?> instrumentedMethods,
LoadedTypeInitializer loadedTypeInitializer,
TypeInitializer typeInitializer,
TypeAttributeAppender typeAttributeAppender,
AsmVisitorWrapper asmVisitorWrapper,
AnnotationValueFilter.Factory annotationValueFilterFactory,
AnnotationRetention annotationRetention,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
Implementation.Context.Factory implementationContextFactory,
TypeValidation typeValidation,
TypePool typePool,
TypeDescription originalType,
ClassFileLocator classFileLocator,
MethodRebaseResolver methodRebaseResolver)
Creates a new default type writer for creating a new type that is not based on an existing class file.
|
Modifier and Type | Method and Description |
---|---|
protected TypeWriter.Default.UnresolvedType |
create(TypeInitializer typeInitializer)
Creates an unresolved version of the dynamic type.
|
forCreation, forRebasing, forRedefinition, make
protected ForInlining(TypeDescription instrumentedType, ClassFileVersion classFileVersion, TypeWriter.FieldPool fieldPool, MethodRegistry.Prepared methodRegistry, Implementation.Target.Factory implementationTargetFactory, List<DynamicType> explicitAuxiliaryTypes, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, MethodList<?> instrumentedMethods, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, TypePool typePool, TypeDescription originalType, ClassFileLocator classFileLocator, MethodRebaseResolver methodRebaseResolver)
instrumentedType
- The instrumented type to be created.classFileVersion
- The class file version to define auxiliary types in.fieldPool
- The field pool to use.methodRegistry
- The method registry to use.implementationTargetFactory
- The implementation target factory to use.explicitAuxiliaryTypes
- The explicit auxiliary types to add to the created type.fields
- The instrumented type's declared fields.methods
- The instrumented type's declared or virtually inherited methods.instrumentedMethods
- The instrumented methods relevant to this type creation.loadedTypeInitializer
- The loaded type initializer to apply onto the created type after loading.typeInitializer
- The type initializer to include in the created type's type initializer.typeAttributeAppender
- The type attribute appender to apply onto the instrumented type.asmVisitorWrapper
- The ASM visitor wrapper to apply onto the class writer.annotationValueFilterFactory
- The annotation value filter factory to apply.annotationRetention
- The annotation retention to apply.auxiliaryTypeNamingStrategy
- The naming strategy for auxiliary types to apply.implementationContextFactory
- The implementation context factory to apply.typeValidation
- Determines if a type should be explicitly validated.typePool
- The type pool to use for computing stack map frames, if required.originalType
- The original type that is being redefined or rebased.classFileLocator
- The class file locator for locating the original type's class file.methodRebaseResolver
- The method rebase resolver to use for rebasing methods.protected TypeWriter.Default.UnresolvedType create(TypeInitializer typeInitializer)
TypeWriter.Default
create
in class TypeWriter.Default<U>
typeInitializer
- The type initializer to use.Copyright © 2014–2017. All rights reserved.