Interface DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V>

Type Parameters:
V - A loaded type that the built type is guaranteed to be a subclass of.
All Superinterfaces:
DynamicType.Builder.MethodDefinition.ExceptionDefinition<V>, DynamicType.Builder.MethodDefinition.ImplementationDefinition<V>, DynamicType.Builder.MethodDefinition.ParameterDefinition<V>, DynamicType.Builder.MethodDefinition.TypeVariableDefinition<V>
All Known Implementing Classes:
DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.ParameterAnnotationAdapter, DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase, DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase.Adapter
Enclosing interface:
DynamicType.Builder.MethodDefinition.ParameterDefinition<U>

public static interface DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> extends DynamicType.Builder.MethodDefinition.ParameterDefinition<V>
A builder for optionally defining an annotation on a parameter.
  • Method Details

    • annotateParameter

      Annotates the previously defined parameter with the specified annotations.
      Parameters:
      annotation - The annotations to declare on the previously defined parameter.
      Returns:
      A new builder that is equal to this builder but with the previously defined parameter annotated with the specified annotations.
    • annotateParameter

      Annotates the previously defined parameter with the specified annotations.
      Parameters:
      annotations - The annotations to declare on the previously defined parameter.
      Returns:
      A new builder that is equal to this builder but with the previously defined parameter annotated with the specified annotations.
    • annotateParameter

      Annotates the previously defined parameter with the specified annotations.
      Parameters:
      annotation - The annotations to declare on the previously defined parameter.
      Returns:
      A new builder that is equal to this builder but with the previously defined parameter annotated with the specified annotations.
    • annotateParameter

      Annotates the previously defined parameter with the specified annotations.
      Parameters:
      annotations - The annotations to declare on the previously defined parameter.
      Returns:
      A new builder that is equal to this builder but with the previously defined parameter annotated with the specified annotations.