Package | Description |
---|---|
net.bytebuddy |
Byte Buddy is a library for creating Java classes at runtime of a Java program.
|
net.bytebuddy.asm |
The ASM package contains classes that are meant for direct interaction with the ASM API.
|
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. |
Modifier and Type | Field and Description |
---|---|
protected ClassVisitorWrapper.Chain |
ByteBuddy.classVisitorWrapperChain
The class visitor wrapper chain for the current configuration.
|
Modifier and Type | Method and Description |
---|---|
ClassVisitorWrapper.Chain |
ByteBuddy.getClassVisitorWrapperChain()
Returns the class visitor wrapper chain for the current configuration.
|
ClassVisitorWrapper.Chain |
ByteBuddy.MethodAnnotationTarget.getClassVisitorWrapperChain() |
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 |
---|---|
ClassVisitorWrapper.Chain |
ClassVisitorWrapper.Chain.append(ClassVisitorWrapper classVisitorWrapper)
Adds a
ClassVisitorWrapper to the end of the chain such that the wrapped
ASM ClassVisitor will be applied after the other class visitors. |
ClassVisitorWrapper.Chain |
ClassVisitorWrapper.Chain.prepend(ClassVisitorWrapper classVisitorWrapper)
Adds a
ClassVisitorWrapper to the beginning of the chain such that the wrapped
ASM ClassVisitor will be applied before the other class visitors. |
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.
|
Copyright © 2014. All rights reserved.