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.ParameterAnnotationAdapter
An annotation adapter for a parameter definition.
|
static class |
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase<W>
An abstract base implementation for defining an annotation on a parameter.
|
protected static class |
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase.Adapter<X>
An adapter implementation for defining an annotation on a parameter.
|
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> |
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.annotateParameter(java.lang.annotation.Annotation... annotation)
Annotates the previously defined parameter with the specified annotations.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<W> |
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase.annotateParameter(java.lang.annotation.Annotation... annotation)
Annotates the previously defined parameter with the specified annotations.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> |
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.annotateParameter(AnnotationDescription... annotation)
Annotates the previously defined parameter with the specified annotations.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<W> |
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase.annotateParameter(AnnotationDescription... annotation)
Annotates the previously defined parameter with the specified annotations.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> |
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.annotateParameter(java.util.Collection<? extends AnnotationDescription> annotations)
Annotates the previously defined parameter with the specified annotations.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<U> |
DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.ParameterAnnotationAdapter.annotateParameter(java.util.Collection<? extends AnnotationDescription> annotations)
Annotates the previously defined parameter with the specified annotations.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> |
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.annotateParameter(java.util.List<? extends java.lang.annotation.Annotation> annotations)
Annotates the previously defined parameter with the specified annotations.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<W> |
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase.annotateParameter(java.util.List<? extends java.lang.annotation.Annotation> annotations)
Annotates the previously defined parameter with the specified annotations.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<U> |
DynamicType.Builder.MethodDefinition.ParameterDefinition.withParameter(TypeDefinition type,
java.lang.String name,
java.util.Collection<? extends ModifierContributor.ForParameter> modifierContributors)
Defines the specified parameter for the currently defined method as the last parameter of the currently defined method.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> |
DynamicType.Builder.MethodDefinition.ParameterDefinition.AbstractBase.withParameter(TypeDefinition type,
java.lang.String name,
java.util.Collection<? extends ModifierContributor.ForParameter> modifierContributors)
Defines the specified parameter for the currently defined method as the last parameter of the currently defined method.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<U> |
DynamicType.Builder.MethodDefinition.ParameterDefinition.withParameter(TypeDefinition type,
java.lang.String name,
int modifiers)
Defines the specified parameter for the currently defined method as the last parameter of the currently defined method.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<X> |
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase.Adapter.withParameter(TypeDefinition type,
java.lang.String name,
int modifiers)
Defines the specified parameter for the currently defined method as the last parameter of the currently defined method.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<U> |
DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.withParameter(TypeDefinition type,
java.lang.String name,
int modifiers)
Defines the specified parameter for the currently defined method as the last parameter of the currently defined method.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<U> |
DynamicType.Builder.MethodDefinition.ParameterDefinition.withParameter(TypeDefinition type,
java.lang.String name,
ModifierContributor.ForParameter... modifierContributor)
Defines the specified parameter for the currently defined method as the last parameter of the currently defined method.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> |
DynamicType.Builder.MethodDefinition.ParameterDefinition.AbstractBase.withParameter(TypeDefinition type,
java.lang.String name,
ModifierContributor.ForParameter... modifierContributor)
Defines the specified parameter for the currently defined method as the last parameter of the currently defined method.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<U> |
DynamicType.Builder.MethodDefinition.ParameterDefinition.withParameter(java.lang.reflect.Type type,
java.lang.String name,
java.util.Collection<? extends ModifierContributor.ForParameter> modifierContributors)
Defines the specified parameter for the currently defined method as the last parameter of the currently defined method.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> |
DynamicType.Builder.MethodDefinition.ParameterDefinition.AbstractBase.withParameter(java.lang.reflect.Type type,
java.lang.String name,
java.util.Collection<? extends ModifierContributor.ForParameter> modifierContributors)
Defines the specified parameter for the currently defined method as the last parameter of the currently defined method.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<U> |
DynamicType.Builder.MethodDefinition.ParameterDefinition.withParameter(java.lang.reflect.Type type,
java.lang.String name,
int modifiers)
Defines the specified parameter for the currently defined method as the last parameter of the currently defined method.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> |
DynamicType.Builder.MethodDefinition.ParameterDefinition.AbstractBase.withParameter(java.lang.reflect.Type type,
java.lang.String name,
int modifiers)
Defines the specified parameter for the currently defined method as the last parameter of the currently defined method.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<U> |
DynamicType.Builder.MethodDefinition.ParameterDefinition.withParameter(java.lang.reflect.Type type,
java.lang.String name,
ModifierContributor.ForParameter... modifierContributor)
Defines the specified parameter for the currently defined method as the last parameter of the currently defined method.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> |
DynamicType.Builder.MethodDefinition.ParameterDefinition.AbstractBase.withParameter(java.lang.reflect.Type type,
java.lang.String name,
ModifierContributor.ForParameter... modifierContributor)
Defines the specified parameter for the currently defined method as the last parameter of the currently defined method.
|