| Package | Description |
|---|---|
| net.bytebuddy.agent.builder |
An agent builder is used to easily implement load-time class-transformations using a Java agent.
|
| Class and Description |
|---|
| AgentBuilder
An agent builder provides a convenience API for defining a
Java agent.
|
| AgentBuilder.BinaryLocator
A binary locator allows to specify how binary data is located by an
AgentBuilder. |
| AgentBuilder.BinaryLocator.ClassLoading
A binary locator that loads referenced classes instead of describing unloaded versions.
|
| AgentBuilder.BinaryLocator.Default
A default implementation of a
AgentBuilder.BinaryLocator that
is using a TypePool.Default with a
TypePool.CacheProvider.Simple and a
ClassFileLocator.ForClassLoader. |
| AgentBuilder.BinaryLocator.WithTypePoolCache
A binary locator that uses type pools but allows for the configuration of a custom cache provider by class loader.
|
| AgentBuilder.Default.BootstrapInjectionStrategy
An injection strategy for injecting classes into the bootstrap class loader.
|
| AgentBuilder.Default.BootstrapInjectionStrategy.Disabled
A disabled bootstrap injection strategy.
|
| AgentBuilder.Default.Delegator
An abstract implementation of an agent builder that delegates all invocation to another instance.
|
| AgentBuilder.Default.NativeMethodStrategy
A strategy for determining if a native method name prefix should be used when rebasing methods.
|
| AgentBuilder.Default.NativeMethodStrategy.Disabled
A native method strategy that suffixes method names with a random suffix and disables native method rebasement.
|
| AgentBuilder.Default.Transformation
A transformation serves as a handler for modifying a class.
|
| AgentBuilder.Default.Transformation.Ignored
A transformation that does not attempt to transform any type.
|
| AgentBuilder.Default.Transformation.Resolution
A resolution to a transformation.
|
| AgentBuilder.Default.Transformation.Resolution.Decoratable
A resolution that can be decorated by a transformer.
|
| AgentBuilder.Default.Transformation.Resolution.Sort
Describes a specific sort of a
AgentBuilder.Default.Transformation.Resolution. |
| AgentBuilder.Identified
Describes an
AgentBuilder which was handed a matcher for identifying
types to instrumented in order to supply one or several
AgentBuilder.Transformers. |
| AgentBuilder.Identified.Extendable
This interface is used to allow for optionally providing several
AgentBuilder.Transformer to applied when a matcher identifies a type
to be instrumented. |
| AgentBuilder.Identified.Narrowable
Allows to specify a type matcher for a type to instrument.
|
| AgentBuilder.Ignored
Allows to further specify ignored types.
|
| AgentBuilder.InitializationStrategy
An initialization strategy which determines the handling of
LoadedTypeInitializers
and the loading of auxiliary types. |
| AgentBuilder.InitializationStrategy.Dispatcher
A dispatcher for changing a class file to adapt a self-initialization strategy.
|
| AgentBuilder.InitializationStrategy.Dispatcher.InjectorFactory
A factory for creating a
ClassInjector only if it is required. |
| AgentBuilder.InitializationStrategy.Minimal
An initialization strategy that loads auxiliary types before loading the instrumented type.
|
| AgentBuilder.InitializationStrategy.NoOp
A non-initializing initialization strategy.
|
| AgentBuilder.InitializationStrategy.SelfInjection
An initialization strategy that adds a code block to an instrumented type's type initializer which
then calls a specific class that is responsible for the explicit initialization.
|
| AgentBuilder.InitializationStrategy.SelfInjection.Dispatcher
A dispatcher for a self-initialization strategy.
|
| AgentBuilder.InitializationStrategy.SelfInjection.NexusAccessor
An accessor for making sure that the accessed
Nexus is the class that is loaded by the system class loader. |
| AgentBuilder.InitializationStrategy.SelfInjection.NexusAccessor.Dispatcher
A dispatcher for registering type initializers in the
Nexus. |
| AgentBuilder.LambdaInstrumentationStrategy
Implements the instrumentation of the
LambdaMetafactory if this feature is enabled. |
| AgentBuilder.LambdaInstrumentationStrategy.AlternativeMetaFactoryRedirection
Implements the alternative lambda meta factory.
|
| AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.ConstructorImplementation
Implements a lambda class's constructor.
|
| AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.FactoryImplementation
An implementation of a instance factory for a lambda expression's class.
|
| AgentBuilder.LambdaInstrumentationStrategy.MetaFactoryRedirection
Implements the regular lambda meta factory.
|
| AgentBuilder.Listener
A listener that is informed about events that occur during an instrumentation process.
|
| AgentBuilder.Listener.NoOp
A no-op implementation of a
AgentBuilder.Listener. |
| AgentBuilder.Matchable
An abstraction for extending a matcher.
|
| AgentBuilder.Matchable.AbstractBase
An abstract base implementation of a matchable.
|
| AgentBuilder.RawMatcher
A matcher that allows to determine if a
AgentBuilder.Transformer
should be applied during the execution of a ClassFileTransformer that was
generated by an AgentBuilder. |
| AgentBuilder.RedefinitionStrategy
A redefinition strategy regulates how already loaded classes are modified by a built agent.
|
| AgentBuilder.RedefinitionStrategy.Collector
A collector is responsible for collecting classes that are to be considered for modification.
|
| AgentBuilder.Transformer
A transformer allows to apply modifications to a
DynamicType. |
| AgentBuilder.Transformer.NoOp
A no-op implementation of a
AgentBuilder.Transformer that does
not modify the supplied dynamic type. |
| AgentBuilder.TypeStrategy
A type strategy is responsible for creating a type builder for a type that is being instrumented.
|
| AgentBuilder.TypeStrategy.Default
Default implementations of type strategies.
|
| LambdaFactory
This class serves as a dispatcher for creating lambda expression objects when Byte Buddy is configured to instrument the
java.lang.invoke.LambdaMetafactory. |
Copyright © 2014–2016. All rights reserved.