Package | Description |
---|---|
net.bytebuddy |
Byte Buddy is a library for creating Java classes at runtime of a Java program.
|
Modifier and Type | Method and Description |
---|---|
ByteBuddy.MethodAnnotationTarget |
ByteBuddy.MethodAnnotationTarget.annotateMethod(Annotation... annotation)
Defines an method annotation for the currently selected methods.
|
ByteBuddy.MethodAnnotationTarget |
ByteBuddy.MethodAnnotationTarget.annotateMethod(AnnotationDescription... annotation)
Defines an method annotation for the currently selected methods.
|
ByteBuddy.MethodAnnotationTarget |
ByteBuddy.MethodAnnotationTarget.annotateMethod(Collection<? extends AnnotationDescription> annotations)
Defines an method annotation for the currently selected methods.
|
ByteBuddy.MethodAnnotationTarget |
ByteBuddy.MethodAnnotationTarget.annotateParameter(int parameterIndex,
Annotation... annotation)
Defines an method annotation for a parameter of the currently selected methods.
|
ByteBuddy.MethodAnnotationTarget |
ByteBuddy.MethodAnnotationTarget.annotateParameter(int parameterIndex,
AnnotationDescription... annotation)
Defines an method annotation for a parameter of the currently selected methods.
|
ByteBuddy.MethodAnnotationTarget |
ByteBuddy.MethodAnnotationTarget.annotateParameter(int parameterIndex,
Collection<? extends AnnotationDescription> annotations)
Defines an method annotation for a parameter of the currently selected methods.
|
ByteBuddy.MethodAnnotationTarget |
ByteBuddy.MethodAnnotationTarget.attribute(MethodAttributeAppender.Factory attributeAppenderFactory)
Defines a given attribute appender factory to be applied for the currently selected methods.
|
ByteBuddy.MethodAnnotationTarget |
ByteBuddy.MethodInterceptable.intercept(Implementation implementation)
Intercepts the given method with the given implementations.
|
ByteBuddy.MethodAnnotationTarget |
ByteBuddy.OptionalMethodInterception.intercept(Implementation implementation) |
ByteBuddy.MethodAnnotationTarget |
ByteBuddy.MatchedMethodInterception.intercept(Implementation implementation) |
ByteBuddy.MethodAnnotationTarget |
ByteBuddy.MethodInterceptable.withDefaultValue(Object value)
Defines a default annotation value to set for any matched method.
|
ByteBuddy.MethodAnnotationTarget |
ByteBuddy.OptionalMethodInterception.withDefaultValue(Object value) |
ByteBuddy.MethodAnnotationTarget |
ByteBuddy.MatchedMethodInterception.withDefaultValue(Object value) |
ByteBuddy.MethodAnnotationTarget |
ByteBuddy.MethodInterceptable.withDefaultValue(Object value,
Class<?> type)
Defines a default annotation value to set for any matched method.
|
ByteBuddy.MethodAnnotationTarget |
ByteBuddy.OptionalMethodInterception.withDefaultValue(Object value,
Class<?> type) |
ByteBuddy.MethodAnnotationTarget |
ByteBuddy.MatchedMethodInterception.withDefaultValue(Object value,
Class<?> type) |
ByteBuddy.MethodAnnotationTarget |
ByteBuddy.MethodInterceptable.withoutCode()
Defines the currently selected methods as
abstract . |
ByteBuddy.MethodAnnotationTarget |
ByteBuddy.OptionalMethodInterception.withoutCode() |
ByteBuddy.MethodAnnotationTarget |
ByteBuddy.MatchedMethodInterception.withoutCode() |
Copyright © 2014–2015. All rights reserved.