| 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.instrumentation |
The instrumentation package contains any logic for intercepting method calls.
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
MethodRegistry.Compiled
Represents a compiled
MethodRegistry. |
| Modifier and Type | Class and Description |
|---|---|
protected static class |
MethodRegistry.Default.Compiled
A compiled default method registry.
|
| Constructor and Description |
|---|
ForCreation(TypeDescription instrumentedType,
ClassFileVersion classFileVersion,
List<? extends MethodDescription> invokableMethods,
ClassVisitorWrapper classVisitorWrapper,
TypeAttributeAppender attributeAppender,
TypeWriter.FieldPool fieldPool,
TypeWriter.MethodPool methodPool)
Creates a new type writer engine for redefining an existent class file.
|
ForRedefinition(TypeDescription instrumentedType,
TypeDescription targetType,
ClassFileVersion classFileVersion,
List<? extends MethodDescription> invokableMethods,
ClassVisitorWrapper classVisitorWrapper,
TypeAttributeAppender attributeAppender,
TypeWriter.FieldPool fieldPool,
TypeWriter.MethodPool methodPool,
ClassFileLocator classFileLocator,
MethodRebaseResolver methodRebaseResolver)
Creates a new type writer that reads a class file and weaves in user defined method implementations.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Instrumentation.Context.ExtractableView.drain(org.objectweb.asm.ClassVisitor classVisitor,
TypeWriter.MethodPool methodPool,
Instrumentation.Context.ExtractableView.InjectedCode injectedCode)
Writes any information that was registered with an
Instrumentation.Context
to the provided class visitor. |
void |
Instrumentation.Context.Default.drain(org.objectweb.asm.ClassVisitor classVisitor,
TypeWriter.MethodPool methodPool,
Instrumentation.Context.ExtractableView.InjectedCode injectedCode) |
Copyright © 2014. All rights reserved.