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