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