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

    • Method Detail

      • annotateParameter

        DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> annotateParameter​(java.lang.annotation.Annotation... annotation)
        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

        DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> annotateParameter​(java.util.List<? extends java.lang.annotation.Annotation> annotations)
        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

        DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> annotateParameter​(AnnotationDescription... annotation)
        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

        DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> annotateParameter​(java.util.Collection<? extends AnnotationDescription> annotations)
        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.