Package | Description |
---|---|
net.bytebuddy |
Byte Buddy is a library for creating Java classes at runtime of a Java program.
|
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.subclass |
All classes and types in this package are related to creating a
DynamicType by
creating a subclass of a given type. |
net.bytebuddy.instrumentation.method |
This package contains types and implementations for describing a Java byte code method which can be any byte code
container, i.e.
|
net.bytebuddy.instrumentation.method.bytecode.bind.annotation |
This package contains annotations, types and classes that are responsible for binding a method to calling another
method by interpreting annotations that indicate how a method should be bound to another method.
|
Modifier and Type | Field and Description |
---|---|
protected MethodLookupEngine.Factory |
ByteBuddy.methodLookupEngineFactory
The method lookup engine factory to apply to any type that is generated by this configuration.
|
Modifier and Type | Method and Description |
---|---|
MethodLookupEngine.Factory |
ByteBuddy.getMethodLookupEngineFactory()
Returns the method lookup engine factory to apply to any type that is generated by this configuration.
|
MethodLookupEngine.Factory |
ByteBuddy.MethodAnnotationTarget.getMethodLookupEngineFactory() |
Modifier and Type | Method and Description |
---|---|
ByteBuddy |
ByteBuddy.withMethodLookupEngine(MethodLookupEngine.Factory methodLookupEngineFactory)
Defines a new
MethodLookupEngine.Factory to be used for creating
MethodLookupEngine s for type creations based on this configuration. |
ByteBuddy |
ByteBuddy.MethodAnnotationTarget.withMethodLookupEngine(MethodLookupEngine.Factory methodLookupEngineFactory) |
Constructor and Description |
---|
ByteBuddy(ClassFileVersion classFileVersion,
NamingStrategy namingStrategy,
List<TypeDescription> interfaceTypes,
MethodMatcher ignoredMethods,
BridgeMethodResolver.Factory bridgeMethodResolverFactory,
ClassVisitorWrapper.Chain classVisitorWrapperChain,
MethodRegistry methodRegistry,
ByteBuddy.Definable<Integer> modifiers,
ByteBuddy.Definable<TypeAttributeAppender> typeAttributeAppender,
MethodLookupEngine.Factory methodLookupEngineFactory,
FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory)
Defines a new
ByteBuddy configuration. |
MethodAnnotationTarget(ClassFileVersion classFileVersion,
NamingStrategy namingStrategy,
List<TypeDescription> interfaceTypes,
MethodMatcher ignoredMethods,
BridgeMethodResolver.Factory bridgeMethodResolverFactory,
ClassVisitorWrapper.Chain classVisitorWrapperChain,
MethodRegistry methodRegistry,
ByteBuddy.Definable<Integer> modifiers,
ByteBuddy.Definable<TypeAttributeAppender> typeAttributeAppender,
MethodLookupEngine.Factory methodLookupEngineFactory,
FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
MethodMatcher methodMatcher,
Instrumentation instrumentation,
MethodAttributeAppender.Factory attributeAppenderFactory)
Creates a new method annotation target.
|
OptionalMethodInterception(ClassFileVersion classFileVersion,
NamingStrategy namingStrategy,
List<TypeDescription> interfaceTypes,
MethodMatcher ignoredMethods,
BridgeMethodResolver.Factory bridgeMethodResolverFactory,
ClassVisitorWrapper.Chain classVisitorWrapperChain,
MethodRegistry methodRegistry,
ByteBuddy.Definable<Integer> modifiers,
ByteBuddy.Definable<TypeAttributeAppender> typeAttributeAppender,
MethodLookupEngine.Factory methodLookupEngineFactory,
FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
MethodMatcher methodMatcher)
Creates a new optional method interception.
|
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder<T> |
DynamicType.Builder.methodLookupEngine(MethodLookupEngine.Factory methodLookupEngineFactory)
Defines the use of a specific factory for a
MethodLookupEngine . |
DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.AbstractDelegatingBuilder.methodLookupEngine(MethodLookupEngine.Factory methodLookupEngineFactory) |
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder<T> |
SubclassDynamicTypeBuilder.methodLookupEngine(MethodLookupEngine.Factory methodLookupEngineFactory) |
Constructor and Description |
---|
SubclassDynamicTypeBuilder(ClassFileVersion classFileVersion,
NamingStrategy namingStrategy,
TypeDescription superType,
List<? extends TypeDescription> interfaceTypes,
int modifiers,
TypeAttributeAppender attributeAppender,
MethodMatcher ignoredMethods,
BridgeMethodResolver.Factory bridgeMethodResolverFactory,
ClassVisitorWrapper.Chain classVisitorWrapperChain,
FieldRegistry fieldRegistry,
MethodRegistry methodRegistry,
MethodLookupEngine.Factory methodLookupEngineFactory,
FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
ConstructorStrategy constructorStrategy)
Creates a new immutable type builder for a subclassing a loaded class.
|
SubclassDynamicTypeBuilder(ClassFileVersion classFileVersion,
NamingStrategy namingStrategy,
TypeDescription superType,
List<TypeDescription> interfaceTypes,
int modifiers,
TypeAttributeAppender attributeAppender,
MethodMatcher ignoredMethods,
BridgeMethodResolver.Factory bridgeMethodResolverFactory,
ClassVisitorWrapper.Chain classVisitorWrapperChain,
FieldRegistry fieldRegistry,
MethodRegistry methodRegistry,
MethodLookupEngine.Factory methodLookupEngineFactory,
FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
List<DynamicType.Builder.AbstractBase.FieldToken> fieldTokens,
List<DynamicType.Builder.AbstractBase.MethodToken> methodTokens,
ConstructorStrategy constructorStrategy)
Creates a new immutable type builder for a subclassing a loaded class.
|
Modifier and Type | Class and Description |
---|---|
static class |
MethodLookupEngine.Default.Factory
A factory for creating
MethodLookupEngine.Default lookup
engines. |
Modifier and Type | Class and Description |
---|---|
static class |
Pipe.Binder
A
TargetMethodAnnotationDrivenBinder.ParameterBinder
for binding the Pipe annotation. |
Constructor and Description |
---|
Redirection(TypeDescription forwardingType,
MethodDescription sourceMethod,
Assigner assigner,
boolean serializableProxy,
MethodLookupEngine.Factory methodLookupEngineFactory)
Creates a new redirection.
|
Copyright © 2014. All rights reserved.