protected class DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.SimpleParameterAnnotationAdapter extends DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable.AbstractBase.Adapter<U>
DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable.AbstractBase.Adapter<X>
DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable.AbstractBase<W>
DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<V>
DynamicType.Builder.MethodDefinition.ImplementationDefinition.Optional<V>
Modifier | Constructor and Description |
---|---|
protected |
SimpleParameterAnnotationAdapter(ParameterDescription.Token token)
Creates a new simple parameter annotation adapter.
|
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<U> |
annotateParameter(Collection<? extends AnnotationDescription> annotations)
Annotates the previously defined parameter with the specifed annotations.
|
boolean |
equals(Object other) |
int |
hashCode() |
protected DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple<U> |
materialize()
Materializes this instance as a simple parameter definition with the currently defined properties.
|
String |
toString() |
defaultValue, defaultValue, intercept, throwing, typeVariable, withoutCode, withParameter
annotateParameter, annotateParameter, annotateParameter
withParameter
throwing, throwing, throwing
typeVariable, typeVariable, typeVariable, typeVariable
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
withParameter
throwing, throwing, throwing
typeVariable, typeVariable, typeVariable, typeVariable
protected SimpleParameterAnnotationAdapter(ParameterDescription.Token token)
token
- The token of the currently defined parameter.public DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<U> annotateParameter(Collection<? extends AnnotationDescription> annotations)
DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable
annotations
- The annotations to declare on the previously defined parameter.protected DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple<U> materialize()
DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable.AbstractBase.Adapter
materialize
in class DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable.AbstractBase.Adapter<U>
Copyright © 2014–2017. All rights reserved.