Package | Description |
---|---|
net.bytebuddy.agent.builder |
An agent builder is used to easily implement load-time class-transformations using a Java agent.
|
net.bytebuddy.asm |
The ASM package contains classes that are meant for direct interaction with the ASM API.
|
net.bytebuddy.dynamic |
This package contains classes and interfaces that are connected to writing the byte stream that represents a Java
type that is dynamically created and for loading this type into a running JVM process.
|
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. |
net.bytebuddy.dynamic.scaffold.subclass |
All classes and types in this package are related to creating a
DynamicType by
creating a subclass of a given type. |
Class and Description |
---|
AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper
A method visitor wrapper that allows for wrapping a
MethodVisitor defining a declared method. |
Class and Description |
---|
Advice
Advice wrappers copy the code of blueprint methods to be executed before and/or after a matched method.
|
Advice.AdviceVisitor
A method visitor that weaves the advice methods' byte codes.
|
Advice.AdviceVisitor.WithExitAdvice
An advice visitor that applies exit advice.
|
Advice.Argument
Indicates that the annotated parameter should be mapped to the parameter with index
Advice.Argument.value() of
the instrumented method. |
Advice.Dispatcher
A dispatcher for implementing advice.
|
Advice.Dispatcher.Bound
A bound resolution of an advice method.
|
Advice.Dispatcher.Delegating.Resolved
A resolved version of a dispatcher.
|
Advice.Dispatcher.Delegating.Resolved.AdviceMethodWriter
A bound advice method that copies the code by first extracting the exception table and later appending the
code of the method without copying any meta data.
|
Advice.Dispatcher.Delegating.Resolved.ForMethodExit
A resolved dispatcher for implementing method exit advice.
|
Advice.Dispatcher.Inactive
An implementation for inactive devise that does not write any byte code.
|
Advice.Dispatcher.Inlining.CodeTranslationVisitor
A visitor for translating an advice method's byte code for inlining into the instrumented method.
|
Advice.Dispatcher.Inlining.Resolved
A resolved version of a dispatcher.
|
Advice.Dispatcher.Inlining.Resolved.ForMethodExit
A resolved dispatcher for implementing method exit advice.
|
Advice.Dispatcher.OffsetMapping
Represents an offset mapping for an advice method to an alternative offset.
|
Advice.Dispatcher.OffsetMapping.Context
A context for applying an
Advice.Dispatcher.OffsetMapping . |
Advice.Dispatcher.OffsetMapping.Context.ForMethodEntry
A context for an offset mapping describing a method entry.
|
Advice.Dispatcher.OffsetMapping.Context.ForMethodExit
A context for an offset mapping describing a method exit.
|
Advice.Dispatcher.OffsetMapping.Factory
Represents a factory for creating a
Advice.Dispatcher.OffsetMapping for a given parameter. |
Advice.Dispatcher.OffsetMapping.ForBoxedArguments
An offset mapping for an array containing the (boxed) method arguments.
|
Advice.Dispatcher.OffsetMapping.ForBoxedReturnValue
An offset mapping for the method's (boxed) return value.
|
Advice.Dispatcher.OffsetMapping.ForBoxedReturnValue.Factory
A factory for an offset mapping the method's (boxed) return value.
|
Advice.Dispatcher.OffsetMapping.ForEnterValue
An offset mapping that provides access to the value that is returned by the enter advice.
|
Advice.Dispatcher.OffsetMapping.ForField
An offset mapping for a field.
|
Advice.Dispatcher.OffsetMapping.ForField.Factory
A factory for a
Advice.Dispatcher.OffsetMapping.Target.ForField offset mapping. |
Advice.Dispatcher.OffsetMapping.ForIgnored
An offset mapping for a parameter where assignments are fully ignored and that always return the parameter type's default value.
|
Advice.Dispatcher.OffsetMapping.ForInstrumentedType
Maps the declaring type of the instrumented method.
|
Advice.Dispatcher.OffsetMapping.ForOrigin.Factory
A factory for a method origin.
|
Advice.Dispatcher.OffsetMapping.ForOrigin.Renderer
A renderer for an origin pattern element.
|
Advice.Dispatcher.OffsetMapping.ForOrigin.Renderer.ForDescriptor
A renderer for a method descriptor.
|
Advice.Dispatcher.OffsetMapping.ForOrigin.Renderer.ForJavaSignature
A renderer for a method's Java signature in binary form.
|
Advice.Dispatcher.OffsetMapping.ForOrigin.Renderer.ForMethodName
A renderer for a method's internal name.
|
Advice.Dispatcher.OffsetMapping.ForOrigin.Renderer.ForReturnTypeName
A renderer for a method's return type in binary form.
|
Advice.Dispatcher.OffsetMapping.ForOrigin.Renderer.ForStringRepresentation
A renderer for a method's
Object.toString() representation. |
Advice.Dispatcher.OffsetMapping.ForOrigin.Renderer.ForTypeName
A renderer for a method declaring type's binary name.
|
Advice.Dispatcher.OffsetMapping.ForParameter.Factory
A factory for creating a
Advice.Dispatcher.OffsetMapping.Target.ForParameter offset mapping. |
Advice.Dispatcher.OffsetMapping.ForReturnValue.Factory
A factory for creating a
Advice.Dispatcher.OffsetMapping.ForReturnValue offset mapping. |
Advice.Dispatcher.OffsetMapping.ForThisReference.Factory
A factory for creating a
Advice.Dispatcher.OffsetMapping.ForThisReference offset mapping. |
Advice.Dispatcher.OffsetMapping.Target
A target offset of an offset mapping.
|
Advice.Dispatcher.OffsetMapping.Target.ForBoxedParameter
A target for an offset mapping that boxes a primitive parameter value.
|
Advice.Dispatcher.OffsetMapping.Target.ForBoxedParameter.BoxingDispatcher
A dispatcher for boxing a primitive value.
|
Advice.Dispatcher.OffsetMapping.Target.ForDefaultValue
Loads a default value onto the stack or pops the accessed value off it.
|
Advice.Dispatcher.OffsetMapping.Target.ForField
An offset mapping for a field.
|
Advice.Dispatcher.OffsetMapping.Target.ForNullConstant
Binds a null constant to the target parameter.
|
Advice.Dispatcher.OffsetMapping.Target.ForParameter
A read-only target mapping.
|
Advice.Dispatcher.OffsetMapping.Target.ForParameter.ReadWrite
A parameter mapping that is both readable and writable.
|
Advice.Dispatcher.Resolved
Represents a resolved dispatcher.
|
Advice.Dispatcher.Resolved.ForMethodEnter
Represents a resolved dispatcher for entering a method.
|
Advice.Dispatcher.Resolved.ForMethodExit
Represents a resolved dispatcher for exiting a method.
|
Advice.Dispatcher.SuppressionHandler
A suppression handler for optionally suppressing exceptions.
|
Advice.Dispatcher.SuppressionHandler.Bound
A bound version of a suppression handler that must not be reused.
|
Advice.Dispatcher.SuppressionHandler.NoOp
A non-operational suppression handler that does not suppress any method.
|
Advice.Dispatcher.SuppressionHandler.ReturnValueProducer
A producer for a default return value if this is applicable.
|
Advice.Dispatcher.Unresolved
A dispatcher that is not yet resolved.
|
Advice.DynamicValue
A dynamic value allows to bind parameters of an
Advice method to a custom, constant value. |
Advice.MethodSizeHandler
A handler for computing the instrumented method's size.
|
Advice.MethodSizeHandler.ForAdvice
A method size handler for an advice method.
|
Advice.MethodSizeHandler.NoOp
A non-operational method size handler.
|
Advice.StackMapFrameHandler
A handler for computing and translating stack map frames.
|
Advice.StackMapFrameHandler.Default.TranslationMode
A translation mode that determines how the fixed frames of the instrumented method are written.
|
Advice.StackMapFrameHandler.ForAdvice
A stack map frame handler for an advice method.
|
Advice.StackMapFrameHandler.ForInstrumentedMethod
A stack map frame handler for an instrumented method.
|
Advice.StackMapFrameHandler.NoOp
A non-operational stack map frame handler.
|
Advice.WithCustomMapping
A builder step for creating an
Advice that uses custom mappings of annotations to constant pool values. |
AsmVisitorWrapper
A class visitor wrapper is used in order to register an intermediate ASM
ClassVisitor which
is applied to the main type created by a DynamicType.Builder but not
to any AuxiliaryType s, if any. |
AsmVisitorWrapper.AbstractBase
An abstract base implementation of an ASM visitor wrapper that does not set any flags.
|
AsmVisitorWrapper.ForDeclaredFields
An ASM visitor wrapper that allows to wrap declared fields of the instrumented type with a
AsmVisitorWrapper.ForDeclaredFields.FieldVisitorWrapper . |
AsmVisitorWrapper.ForDeclaredFields.Entry
An entry describing a field visitor wrapper paired with a matcher for fields to be wrapped.
|
AsmVisitorWrapper.ForDeclaredFields.FieldVisitorWrapper
A field visitor wrapper that allows for wrapping a
FieldVisitor defining a declared field. |
AsmVisitorWrapper.ForDeclaredMethods
An ASM visitor wrapper that allows to wrap declared methods of the instrumented type with a
AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper . |
AsmVisitorWrapper.ForDeclaredMethods.Entry
An entry describing a method visitor wrapper paired with a matcher for fields to be wrapped.
|
AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper
A method visitor wrapper that allows for wrapping a
MethodVisitor defining a declared method. |
AsmVisitorWrapper.NoOp
A class visitor wrapper that does not apply any changes.
|
TypeConstantAdjustment
This class visitor wrapper ensures that class files of a version previous to Java 5 do not store class entries in the generated class's constant pool.
|
Class and Description |
---|
AsmVisitorWrapper
A class visitor wrapper is used in order to register an intermediate ASM
ClassVisitor which
is applied to the main type created by a DynamicType.Builder but not
to any AuxiliaryType s, if any. |
Class and Description |
---|
AsmVisitorWrapper
A class visitor wrapper is used in order to register an intermediate ASM
ClassVisitor which
is applied to the main type created by a DynamicType.Builder but not
to any AuxiliaryType s, if any. |
Class and Description |
---|
AsmVisitorWrapper
A class visitor wrapper is used in order to register an intermediate ASM
ClassVisitor which
is applied to the main type created by a DynamicType.Builder but not
to any AuxiliaryType s, if any. |
Class and Description |
---|
AsmVisitorWrapper
A class visitor wrapper is used in order to register an intermediate ASM
ClassVisitor which
is applied to the main type created by a DynamicType.Builder but not
to any AuxiliaryType s, if any. |
Copyright © 2014–2016. All rights reserved.