Package | Description |
---|---|
net.bytebuddy |
Byte Buddy is a library for creating Java classes at runtime of a Java program.
|
Modifier and Type | Class and Description |
---|---|
static class |
ByteBuddy.MethodAnnotationTarget
A
ByteBuddy configuration with a selected set of methods for which annotations can
be defined. |
static class |
ByteBuddy.OptionalMethodInterception
An optional method interception that allows to intercept a method selection only if this is needed.
|
Modifier and Type | Method and Description |
---|---|
protected ByteBuddy |
ByteBuddy.MethodAnnotationTarget.materialize()
Materializes this configuration as new
ByteBuddy instance. |
ByteBuddy |
ByteBuddy.withAttribute(TypeAttributeAppender typeAttributeAppender)
Defines a new type attribute appender for this configuration that replaces the currently defined type
attribute appender.
|
ByteBuddy |
ByteBuddy.MethodAnnotationTarget.withAttribute(TypeAttributeAppender typeAttributeAppender) |
ByteBuddy |
ByteBuddy.withBridgeMethodResolver(BridgeMethodResolver.Factory bridgeMethodResolverFactory)
Defines a bridge method resolver factory to be applied to this configuration.
|
ByteBuddy |
ByteBuddy.MethodAnnotationTarget.withBridgeMethodResolver(BridgeMethodResolver.Factory bridgeMethodResolverFactory) |
ByteBuddy |
ByteBuddy.withClassFileVersion(ClassFileVersion classFileVersion)
Defines a new class file version for this configuration.
|
ByteBuddy |
ByteBuddy.MethodAnnotationTarget.withClassFileVersion(ClassFileVersion classFileVersion) |
ByteBuddy |
ByteBuddy.withClassVisitor(ClassVisitorWrapper classVisitorWrapper)
Defines a new class visitor to be appended to the current collection of
ClassVisitor s
that are to be applied onto any creation process of a dynamic type. |
ByteBuddy |
ByteBuddy.MethodAnnotationTarget.withClassVisitor(ClassVisitorWrapper classVisitorWrapper) |
ByteBuddy |
ByteBuddy.withDefaultFieldAttributeAppender(FieldAttributeAppender.Factory attributeAppenderFactory)
Defines a new default field attribute appender factory that is applied onto any field.
|
ByteBuddy |
ByteBuddy.MethodAnnotationTarget.withDefaultFieldAttributeAppender(FieldAttributeAppender.Factory attributeAppenderFactory) |
ByteBuddy |
ByteBuddy.withDefaultMethodAttributeAppender(MethodAttributeAppender.Factory attributeAppenderFactory)
Defines a new default method attribute appender factory that is applied onto any method.
|
ByteBuddy |
ByteBuddy.MethodAnnotationTarget.withDefaultMethodAttributeAppender(MethodAttributeAppender.Factory attributeAppenderFactory) |
ByteBuddy |
ByteBuddy.withIgnoredMethods(MethodMatcher ignoredMethods)
Defines a new method matcher for methods that are ignored by any dynamic type that is created by this
configuration which will replace the current configuration.
|
ByteBuddy |
ByteBuddy.MethodAnnotationTarget.withIgnoredMethods(MethodMatcher ignoredMethods) |
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) |
ByteBuddy |
ByteBuddy.withModifiers(ModifierContributor.ForType... modifierContributor)
Defines a new modifier contributors for this configuration that replaces the currently defined modifier
contributes which might currently be implicit.
|
ByteBuddy |
ByteBuddy.MethodAnnotationTarget.withModifiers(ModifierContributor.ForType... modifierContributor) |
ByteBuddy |
ByteBuddy.withNamingStrategy(NamingStrategy namingStrategy)
Defines a new naming strategy for this configuration.
|
ByteBuddy |
ByteBuddy.MethodAnnotationTarget.withNamingStrategy(NamingStrategy namingStrategy) |
ByteBuddy |
ByteBuddy.withTypeAnnotation(Annotation... annotation)
Defines a new type annotation for this configuration that replaces the currently defined type
attribute appender.
|
ByteBuddy |
ByteBuddy.MethodAnnotationTarget.withTypeAnnotation(Annotation... annotation) |
Copyright © 2014. All rights reserved.