V - A loaded type that the built type is guaranteed to be a subclass of.public static interface DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> extends DynamicType.Builder.MethodDefinition.ParameterDefinition<V>
| Modifier and Type | Interface and Description |
|---|---|
static class |
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase<W>
An abstract base implementation for defining an annotation on a parameter.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V>, DynamicType.Builder.MethodDefinition.ParameterDefinition.Initial<V>, DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple<V>DynamicType.Builder.MethodDefinition.ImplementationDefinition.Optional<V>| Modifier and Type | Method and Description |
|---|---|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> |
annotateParameter(Annotation... annotation)
Annotates the previously defined parameter with the specifed annotations.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> |
annotateParameter(AnnotationDescription... annotation)
Annotates the previously defined parameter with the specifed annotations.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> |
annotateParameter(Collection<? extends AnnotationDescription> annotations)
Annotates the previously defined parameter with the specifed annotations.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> |
annotateParameter(List<? extends Annotation> annotations)
Annotates the previously defined parameter with the specifed annotations.
|
withParameter, withParameter, withParameter, withParameter, withParameter, withParameterthrowing, throwing, throwing, throwingtypeVariable, typeVariable, typeVariable, typeVariable, typeVariabledefaultValue, defaultValue, intercept, withoutCodeDynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> annotateParameter(Annotation... annotation)
annotation - The annotations to declare on the previously defined parameter.DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> annotateParameter(List<? extends Annotation> annotations)
annotations - The annotations to declare on the previously defined parameter.DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> annotateParameter(AnnotationDescription... annotation)
annotation - The annotations to declare on the previously defined parameter.DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> annotateParameter(Collection<? extends AnnotationDescription> annotations)
annotations - The annotations to declare on the previously defined parameter.Copyright © 2014–2016. All rights reserved.