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 | Interface and Description |
---|---|
static interface |
DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U>
A builder for a method definition with a receiver type.
|
Modifier and Type | Class and Description |
---|---|
protected class |
DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.AnnotationAdapter
An annotation adapter for a method definition.
|
protected class |
DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.AnnotationAdapter
An annotation adapter for implementing annotations during a method definition.
|
static class |
DynamicType.Builder.MethodDefinition.AbstractBase<U>
An abstract base implementation of a method definition.
|
protected static class |
DynamicType.Builder.MethodDefinition.AbstractBase.Adapter<V>
An adapter implementation of a method definition.
|
static class |
DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition.AbstractBase<V>
An abstract base implementation of a method definition that can accept a receiver type.
|
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder.MethodDefinition<S> |
DynamicType.Builder.MethodDefinition.annotateMethod(Annotation... annotation)
Annotates the previously defined or matched method with the supplied annotations.
|
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.MethodDefinition.AbstractBase.annotateMethod(Annotation... annotation) |
DynamicType.Builder.MethodDefinition<S> |
DynamicType.Builder.MethodDefinition.annotateMethod(AnnotationDescription... annotation)
Annotates the previously defined or matched method with the supplied annotations.
|
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.MethodDefinition.AbstractBase.annotateMethod(AnnotationDescription... annotation) |
DynamicType.Builder.MethodDefinition<S> |
DynamicType.Builder.MethodDefinition.annotateMethod(Collection<? extends AnnotationDescription> annotations)
Annotates the previously defined or matched method with the supplied annotations.
|
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.AnnotationAdapter.annotateMethod(Collection<? extends AnnotationDescription> annotations) |
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.AnnotationAdapter.annotateMethod(Collection<? extends AnnotationDescription> annotations) |
DynamicType.Builder.MethodDefinition<S> |
DynamicType.Builder.MethodDefinition.annotateMethod(List<? extends Annotation> annotations)
Annotates the previously defined or matched method with the supplied annotations.
|
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.MethodDefinition.AbstractBase.annotateMethod(List<? extends Annotation> annotations) |
DynamicType.Builder.MethodDefinition<S> |
DynamicType.Builder.MethodDefinition.annotateParameter(int index,
Annotation... annotation)
Annotates the parameter of the given index of the previously defined or matched method with the supplied annotations.
|
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.MethodDefinition.AbstractBase.annotateParameter(int index,
Annotation... annotation) |
DynamicType.Builder.MethodDefinition<S> |
DynamicType.Builder.MethodDefinition.annotateParameter(int index,
AnnotationDescription... annotation)
Annotates the parameter of the given index of the previously defined or matched method with the supplied annotations.
|
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.MethodDefinition.AbstractBase.annotateParameter(int index,
AnnotationDescription... annotation) |
DynamicType.Builder.MethodDefinition<S> |
DynamicType.Builder.MethodDefinition.annotateParameter(int index,
Collection<? extends AnnotationDescription> annotations)
Annotates the parameter of the given index of the previously defined or matched method with the supplied annotations.
|
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.AnnotationAdapter.annotateParameter(int index,
Collection<? extends AnnotationDescription> annotations) |
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.AnnotationAdapter.annotateParameter(int index,
Collection<? extends AnnotationDescription> annotations) |
DynamicType.Builder.MethodDefinition<S> |
DynamicType.Builder.MethodDefinition.annotateParameter(int index,
List<? extends Annotation> annotations)
Annotates the parameter of the given index of the previously defined or matched method with the supplied annotations.
|
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.MethodDefinition.AbstractBase.annotateParameter(int index,
List<? extends Annotation> annotations) |
DynamicType.Builder.MethodDefinition<S> |
DynamicType.Builder.MethodDefinition.attribute(MethodAttributeAppender.Factory methodAttributeAppenderFactory)
Applies the supplied method attribute appender factory onto the previously defined or matched method.
|
DynamicType.Builder.MethodDefinition<V> |
DynamicType.Builder.MethodDefinition.AbstractBase.Adapter.attribute(MethodAttributeAppender.Factory methodAttributeAppenderFactory) |
protected abstract DynamicType.Builder.MethodDefinition<V> |
DynamicType.Builder.MethodDefinition.AbstractBase.Adapter.materialize(MethodRegistry.Handler handler,
MethodAttributeAppender.Factory methodAttributeAppenderFactory,
Transformer<MethodDescription> transformer)
Materializes the current builder as a method definition.
|
protected DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.AnnotationAdapter.materialize(MethodRegistry.Handler handler,
MethodAttributeAppender.Factory methodAttributeAppenderFactory,
Transformer<MethodDescription> transformer) |
protected DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.AnnotationAdapter.materialize(MethodRegistry.Handler handler,
MethodAttributeAppender.Factory methodAttributeAppenderFactory,
Transformer<MethodDescription> transformer) |
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition.receiverType(AnnotatedElement receiverType)
Defines the supplied (annotated) receiver type for the previously defined or matched method.
|
DynamicType.Builder.MethodDefinition<V> |
DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition.AbstractBase.receiverType(AnnotatedElement receiverType) |
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition.receiverType(TypeDescription.Generic receiverType)
Defines the supplied (annotated) receiver type for the previously defined or matched method.
|
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.AnnotationAdapter.receiverType(TypeDescription.Generic receiverType) |
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.AnnotationAdapter.receiverType(TypeDescription.Generic receiverType) |
DynamicType.Builder.MethodDefinition<S> |
DynamicType.Builder.MethodDefinition.transform(Transformer<MethodDescription> transformer)
Applies the supplied transformer onto the previously defined or matched method.
|
DynamicType.Builder.MethodDefinition<V> |
DynamicType.Builder.MethodDefinition.AbstractBase.Adapter.transform(Transformer<MethodDescription> transformer) |
Copyright © 2014–2018. All rights reserved.