Package | Description |
---|---|
net.bytebuddy.dynamic.scaffold |
This package contains helper types and implementations that are responsible for the actual writing of a byte array
representing a Java class.
|
net.bytebuddy.dynamic.scaffold.inline |
All classes and types in this package are related to creating a
DynamicType by
enhancing a given type. |
Modifier and Type | Method and Description |
---|---|
static <U> TypeWriter<U> |
TypeWriter.Default.forRebasing(MethodRegistry.Compiled methodRegistry,
TypeWriter.FieldPool fieldPool,
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 type writer for rebasing a type.
|
Constructor and Description |
---|
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 | Class and Description |
---|---|
static class |
MethodRebaseResolver.Default
A default implementation of a method rebase resolver.
|
static class |
MethodRebaseResolver.Disabled
A method rebase resolver that preserves any method in its original form.
|
Modifier and Type | Method and Description |
---|---|
static MethodRebaseResolver |
MethodRebaseResolver.Default.make(TypeDescription instrumentedType,
Set<? extends MethodDescription.Token> rebaseableMethodTokens,
ClassFileVersion classFileVersion,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
MethodNameTransformer methodNameTransformer)
Creates a new method rebase resolver.
|
Modifier and Type | Method and Description |
---|---|
protected static Implementation.Target |
RebaseImplementationTarget.of(TypeDescription instrumentedType,
MethodGraph.Linked methodGraph,
MethodRebaseResolver methodRebaseResolver)
Creates a new rebase implementation target.
|
Constructor and Description |
---|
Factory(MethodRebaseResolver methodRebaseResolver)
Creates a new factory for a rebase implementation target.
|
Copyright © 2014–2016. All rights reserved.