W
- A loaded type that the built type is guaranteed to be a subclass of.public abstract static class DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase<W> extends DynamicType.Builder.MethodDefinition.ParameterDefinition.AbstractBase<W> implements DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<W>
Modifier and Type | Class and Description |
---|---|
protected static class |
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase.Adapter<X>
An adapter implementation for defining an annotation on a parameter.
|
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>
Constructor and Description |
---|
AbstractBase() |
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<W> |
annotateParameter(Annotation... annotation)
Annotates the previously defined parameter with the specifed annotations.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<W> |
annotateParameter(AnnotationDescription... annotation)
Annotates the previously defined parameter with the specifed annotations.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<W> |
annotateParameter(List<? extends Annotation> annotations)
Annotates the previously defined parameter with the specifed annotations.
|
withParameter, withParameter, withParameter, withParameter, withParameter
throwing, throwing, throwing
typeVariable, typeVariable, typeVariable, typeVariable
defaultValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
annotateParameter
withParameter, withParameter, withParameter, withParameter, withParameter, withParameter
throwing, throwing, throwing, throwing
typeVariable, typeVariable, typeVariable, typeVariable, typeVariable
defaultValue, defaultValue, intercept, withoutCode
public DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<W> annotateParameter(Annotation... annotation)
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable
annotateParameter
in interface DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<W>
annotation
- The annotations to declare on the previously defined parameter.public DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<W> annotateParameter(List<? extends Annotation> annotations)
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable
annotateParameter
in interface DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<W>
annotations
- The annotations to declare on the previously defined parameter.public DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<W> annotateParameter(AnnotationDescription... annotation)
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable
annotateParameter
in interface DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<W>
annotation
- The annotations to declare on the previously defined parameter.Copyright © 2014–2016. All rights reserved.