| 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.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.
|
| 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) |
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.MethodDefinition.ImplementationDefinition.defaultValue(Object value)
Defines the previously defined or matched method to return the supplied value as an annotation default value.
|
DynamicType.Builder.MethodDefinition<X> |
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.AbstractBase.Adapter.defaultValue(Object value) |
DynamicType.Builder.MethodDefinition<X> |
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase.Adapter.defaultValue(Object value) |
DynamicType.Builder.MethodDefinition<X> |
DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable.AbstractBase.Adapter.defaultValue(Object value) |
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.defaultValue(Object value) |
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.defaultValue(Object value) |
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.OptionalMethodMatchAdapter.defaultValue(Object value) |
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.MethodDefinition.ImplementationDefinition.defaultValue(Object value,
Class<?> type)
Defines the previously defined or matched method to return the supplied value as an annotation default value.
|
DynamicType.Builder.MethodDefinition<V> |
DynamicType.Builder.MethodDefinition.ImplementationDefinition.AbstractBase.defaultValue(Object value,
Class<?> type) |
DynamicType.Builder.MethodDefinition<X> |
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.AbstractBase.Adapter.defaultValue(Object value,
Class<?> type) |
DynamicType.Builder.MethodDefinition<X> |
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase.Adapter.defaultValue(Object value,
Class<?> type) |
DynamicType.Builder.MethodDefinition<X> |
DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable.AbstractBase.Adapter.defaultValue(Object value,
Class<?> type) |
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.OptionalMethodMatchAdapter.defaultValue(Object value,
Class<?> type) |
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.MethodDefinition.ImplementationDefinition.intercept(Implementation implementation)
Implements the previously defined or matched method by the supplied implementation.
|
DynamicType.Builder.MethodDefinition<X> |
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.AbstractBase.Adapter.intercept(Implementation implementation) |
DynamicType.Builder.MethodDefinition<X> |
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase.Adapter.intercept(Implementation implementation) |
DynamicType.Builder.MethodDefinition<X> |
DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable.AbstractBase.Adapter.intercept(Implementation implementation) |
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.intercept(Implementation implementation) |
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.intercept(Implementation implementation) |
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.OptionalMethodMatchAdapter.intercept(Implementation implementation) |
protected abstract DynamicType.Builder.MethodDefinition<V> |
DynamicType.Builder.MethodDefinition.AbstractBase.Adapter.materialize(MethodRegistry.Handler handler,
MethodAttributeAppender.Factory methodAttributeAppenderFactory,
MethodTransformer methodTransformer)
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,
MethodTransformer methodTransformer) |
protected DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.AnnotationAdapter.materialize(MethodRegistry.Handler handler,
MethodAttributeAppender.Factory methodAttributeAppenderFactory,
MethodTransformer methodTransformer) |
DynamicType.Builder.MethodDefinition<S> |
DynamicType.Builder.MethodDefinition.transform(MethodTransformer methodTransformer)
Applies the supplied method transformer onto the previously defined or matched method.
|
DynamicType.Builder.MethodDefinition<V> |
DynamicType.Builder.MethodDefinition.AbstractBase.Adapter.transform(MethodTransformer methodTransformer) |
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.MethodDefinition.ImplementationDefinition.withoutCode()
Defines the previously defined or matched method to be
abstract. |
DynamicType.Builder.MethodDefinition<X> |
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.AbstractBase.Adapter.withoutCode() |
DynamicType.Builder.MethodDefinition<X> |
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase.Adapter.withoutCode() |
DynamicType.Builder.MethodDefinition<X> |
DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable.AbstractBase.Adapter.withoutCode() |
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.withoutCode() |
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.withoutCode() |
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.OptionalMethodMatchAdapter.withoutCode() |
Copyright © 2014–2016. All rights reserved.