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,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
Implementation.Context.Factory implementationContextFactory,
ClassVisitorWrapper classVisitorWrapper,
TypeAttributeAppender attributeAppender,
ClassFileVersion classFileVersion,
ClassFileLocator classFileLocator,
TypeDescription targetType,
MethodRebaseResolver methodRebaseResolver)
Creates a type writer for creating a new type.
|
Constructor and Description |
---|
ForInlining(TypeDescription instrumentedType,
LoadedTypeInitializer loadedTypeInitializer,
InstrumentedType.TypeInitializer typeInitializer,
List<DynamicType> explicitAuxiliaryTypes,
ClassFileVersion classFileVersion,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
Implementation.Context.Factory implementationContextFactory,
ClassVisitorWrapper classVisitorWrapper,
TypeAttributeAppender attributeAppender,
TypeWriter.FieldPool fieldPool,
TypeWriter.MethodPool methodPool,
MethodList instrumentedMethods,
ClassFileLocator classFileLocator,
TypeDescription targetType,
MethodRebaseResolver methodRebaseResolver)
Creates a new type writer for inling a type into an existing type description.
|
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,
MethodList<MethodDescription.InDefinedShape> rebaseableMethods,
ClassFileVersion classFileVersion,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
MethodRebaseResolver.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,
MethodList<MethodDescription.InDefinedShape> rebaseableMethods,
MethodRebaseResolver methodRebaseResolver)
Creates a new rebase implementation target.
|
Constructor and Description |
---|
Factory(MethodList<MethodDescription.InDefinedShape> rebaseableMethods,
MethodRebaseResolver methodRebaseResolver)
Creates a new factory for a rebase implementation target.
|
Copyright © 2014–2015. All rights reserved.