@HashCodeAndEqualsPlugin.Enhance(includeSyntheticFields=true) protected class DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.ParameterAnnotationAdapter extends DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase.Adapter<U>
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase.Adapter<X>DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase<W>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 | Constructor and Description |
|---|---|
protected |
ParameterAnnotationAdapter(ParameterDescription.Token token)
Creates a new parameter annotation adapter.
|
| Modifier and Type | Method and Description |
|---|---|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<U> |
annotateParameter(Collection<? extends AnnotationDescription> annotations)
Annotates the previously defined parameter with the specified annotations.
|
protected DynamicType.Builder.MethodDefinition.ParameterDefinition<U> |
materialize()
Materializes this instance as a parameter definition with the currently defined properties.
|
defaultValue, defaultValue, intercept, throwing, typeVariable, withoutCode, withParameterannotateParameter, annotateParameter, annotateParameterwithParameter, withParameter, withParameter, withParameter, withParameterthrowing, throwing, throwingtypeVariable, typeVariable, typeVariable, typeVariableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwithParameter, withParameter, withParameter, withParameter, withParameterthrowing, throwing, throwingtypeVariable, typeVariable, typeVariable, typeVariableprotected ParameterAnnotationAdapter(ParameterDescription.Token token)
token - The token of the currently defined parameter.public DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<U> annotateParameter(Collection<? extends AnnotationDescription> annotations)
annotations - The annotations to declare on the previously defined parameter.protected DynamicType.Builder.MethodDefinition.ParameterDefinition<U> materialize()
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase.Adaptermaterialize in class DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase.Adapter<U>Copyright © 2014–2023. All rights reserved.