| Package | Description |
|---|---|
| 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.
|
| Modifier and Type | Class and Description |
|---|---|
protected class |
DynamicType.Builder.AbstractBase.DefaultMethodAnnotationTarget
A
DynamicType.Builder.MethodAnnotationTarget which allows the definition of
annotations for a recently identified method. |
| Modifier and Type | Method and Description |
|---|---|
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.MethodAnnotationTarget.annotateMethod(Annotation... annotation)
Defines annotations to be added to the currently selected method.
|
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultMethodAnnotationTarget.annotateMethod(Annotation... annotation) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.MethodAnnotationTarget.annotateMethod(AnnotationDescription... annotation)
Defines annotations to be added to the currently selected method.
|
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultMethodAnnotationTarget.annotateMethod(AnnotationDescription... annotation) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.MethodAnnotationTarget.annotateMethod(Collection<? extends AnnotationDescription> annotations)
Defines annotations to be added to the currently selected method.
|
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultMethodAnnotationTarget.annotateMethod(Collection<? extends AnnotationDescription> annotations) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.MethodAnnotationTarget.annotateMethod(Iterable<? extends Annotation> annotations)
Defines annotations to be added to the currently selected method.
|
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultMethodAnnotationTarget.annotateMethod(Iterable<? extends Annotation> annotations) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.MethodAnnotationTarget.annotateParameter(int parameterIndex,
Annotation... annotation)
Defines annotations to be added to a parameter of the currently selected methods.
|
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultMethodAnnotationTarget.annotateParameter(int parameterIndex,
Annotation... annotation) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.MethodAnnotationTarget.annotateParameter(int parameterIndex,
AnnotationDescription... annotation)
Defines annotations to be added to a parameter of the currently selected methods.
|
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultMethodAnnotationTarget.annotateParameter(int parameterIndex,
AnnotationDescription... annotation) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.MethodAnnotationTarget.annotateParameter(int parameterIndex,
Collection<? extends AnnotationDescription> annotations)
Defines annotations to be added to a parameter of the currently selected methods.
|
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultMethodAnnotationTarget.annotateParameter(int parameterIndex,
Collection<? extends AnnotationDescription> annotations) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.MethodAnnotationTarget.annotateParameter(int parameterIndex,
Iterable<? extends Annotation> annotations)
Defines annotations to be added to a parameter of the currently selected methods.
|
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultMethodAnnotationTarget.annotateParameter(int parameterIndex,
Iterable<? extends Annotation> annotations) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.MethodAnnotationTarget.attribute(MethodAttributeAppender.Factory attributeAppenderFactory)
Defines an attribute appender factory to be applied onto the currently selected methods.
|
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultMethodAnnotationTarget.attribute(MethodAttributeAppender.Factory attributeAppenderFactory) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.MatchedMethodInterception.intercept(Implementation implementation)
Intercepts the currently selected methods with the provided implementation.
|
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultMatchedMethodInterception.intercept(Implementation implementation) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultExceptionDeclarableMethodInterception.intercept(Implementation implementation) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultOptionalMatchedMethodInterception.intercept(Implementation implementation) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.MatchedMethodInterception.intercept(Implementation implementation,
MethodTransformer methodTransformer)
Intercepts the currently selected method by a given implementation.
|
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultMatchedMethodInterception.intercept(Implementation implementation,
MethodTransformer methodTransformer) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultExceptionDeclarableMethodInterception.intercept(Implementation implementation,
MethodTransformer methodTransformer) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultOptionalMatchedMethodInterception.intercept(Implementation implementation,
MethodTransformer methodTransformer) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.MatchedMethodInterception.withDefaultValue(Object value)
Defines a default annotation value to set for any matched method.
|
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultMatchedMethodInterception.withDefaultValue(Object value) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultExceptionDeclarableMethodInterception.withDefaultValue(Object value) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultOptionalMatchedMethodInterception.withDefaultValue(Object value) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.MatchedMethodInterception.withDefaultValue(Object value,
Class<?> type)
Defines a default annotation value to set for any matched method.
|
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultMatchedMethodInterception.withDefaultValue(Object value,
Class<?> type) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultExceptionDeclarableMethodInterception.withDefaultValue(Object value,
Class<?> type) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultOptionalMatchedMethodInterception.withDefaultValue(Object value,
Class<?> type) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.MatchedMethodInterception.withDefaultValue(Object value,
Class<?> type,
MethodTransformer methodTransformer)
Defines a default annotation value to set for any matched method.
|
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultMatchedMethodInterception.withDefaultValue(Object value,
Class<?> type,
MethodTransformer methodTransformer) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultExceptionDeclarableMethodInterception.withDefaultValue(Object value,
Class<?> type,
MethodTransformer methodTransformer) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultOptionalMatchedMethodInterception.withDefaultValue(Object value,
Class<?> type,
MethodTransformer methodTransformer) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.MatchedMethodInterception.withDefaultValue(Object value,
MethodTransformer methodTransformer)
Defines a default annotation value to set for any matched method.
|
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultMatchedMethodInterception.withDefaultValue(Object value,
MethodTransformer methodTransformer) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultExceptionDeclarableMethodInterception.withDefaultValue(Object value,
MethodTransformer methodTransformer) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultOptionalMatchedMethodInterception.withDefaultValue(Object value,
MethodTransformer methodTransformer) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.MatchedMethodInterception.withoutCode()
Implements the currently selected methods as
abstract methods. |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultMatchedMethodInterception.withoutCode() |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultExceptionDeclarableMethodInterception.withoutCode() |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultOptionalMatchedMethodInterception.withoutCode() |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.MatchedMethodInterception.withoutCode(MethodTransformer methodTransformer)
Implements the currently selected methods as
abstract methods. |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultMatchedMethodInterception.withoutCode(MethodTransformer methodTransformer) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultExceptionDeclarableMethodInterception.withoutCode(MethodTransformer methodTransformer) |
DynamicType.Builder.MethodAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.DefaultOptionalMatchedMethodInterception.withoutCode(MethodTransformer methodTransformer) |
Copyright © 2014–2015. All rights reserved.