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.FramePreservingRemapper
A remapper adapter that does not attempt to reorder method frames which is never the case for a renaming.
|
protected class |
TypeWriter.Default.ForInlining.RedefinitionClassVisitor
A class visitor which is capable of applying a redefinition of an existing class file.
|
protected static class |
TypeWriter.Default.ForInlining.TypeInitializerDelegate
A method containing the original type initializer of a redefined class.
|
TypeWriter.Default.ForCreation<U>, TypeWriter.Default.ForInlining<U>, TypeWriter.Default.FrameComputingClassWriter, TypeWriter.Default.ValidatingClassVisitor
TypeWriter.Default<S>, TypeWriter.FieldPool, TypeWriter.MethodPool
annotationRetention, annotationValueFilterFactory, ASM_MANUAL_FLAGS, asmVisitorWrapper, auxiliaryTypeNamingStrategy, classFileVersion, explicitAuxiliaryTypes, fieldPool, implementationContextFactory, instrumentedMethods, instrumentedType, loadedTypeInitializer, methodPool, typeAttributeAppender, typeInitializer, typeValidation
Modifier | Constructor and Description |
---|---|
protected |
ForInlining(TypeDescription instrumentedType,
TypeWriter.FieldPool fieldPool,
TypeWriter.MethodPool methodPool,
List<DynamicType> explicitAuxiliaryTypes,
MethodList<?> instrumentedMethods,
LoadedTypeInitializer loadedTypeInitializer,
TypeInitializer typeInitializer,
TypeAttributeAppender typeAttributeAppender,
AsmVisitorWrapper asmVisitorWrapper,
ClassFileVersion classFileVersion,
AnnotationValueFilter.Factory annotationValueFilterFactory,
AnnotationRetention annotationRetention,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
Implementation.Context.Factory implementationContextFactory,
TypeValidation typeValidation,
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 |
---|---|
byte[] |
create(Implementation.Context.ExtractableView implementationContext)
Creates the instrumented type.
|
boolean |
equals(Object other) |
int |
hashCode() |
String |
toString() |
forCreation, forRebasing, forRedefinition, make
protected ForInlining(TypeDescription instrumentedType, TypeWriter.FieldPool fieldPool, TypeWriter.MethodPool methodPool, List<DynamicType> explicitAuxiliaryTypes, MethodList<?> instrumentedMethods, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, TypeDescription originalType, ClassFileLocator classFileLocator, MethodRebaseResolver methodRebaseResolver)
instrumentedType
- The instrumented type to be created.fieldPool
- The field pool to use.methodPool
- The method pool to use.explicitAuxiliaryTypes
- The explicit auxiliary types to add to the created type.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.classFileVersion
- The class file version to define auxiliary types in.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.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.public byte[] create(Implementation.Context.ExtractableView implementationContext)
TypeWriter.Default
create
in class TypeWriter.Default<U>
implementationContext
- The implementation context to use.public boolean equals(Object other)
equals
in class TypeWriter.Default<U>
public int hashCode()
hashCode
in class TypeWriter.Default<U>
Copyright © 2014–2016. All rights reserved.