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

    • Method Detail

      • annotateTypeVariable

        DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V> annotateTypeVariable​(Annotation... annotation)
        Annotates the previously defined type variable with the supplied annotations.
        Parameters:
        annotation - The annotations to declare on the previously defined type variable.
        Returns:
        A new builder that is equal to this builder but with the given annotations declared on the previously defined type variable.
      • annotateTypeVariable

        DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V> annotateTypeVariable​(List<? extends Annotation> annotations)
        Annotates the previously defined type variable with the supplied annotations.
        Parameters:
        annotations - The annotations to declare on the previously defined type variable.
        Returns:
        A new builder that is equal to this builder but with the given annotations declared on the previously defined type variable.
      • annotateTypeVariable

        DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V> annotateTypeVariable​(AnnotationDescription... annotation)
        Annotates the previously defined type variable with the supplied annotations.
        Parameters:
        annotation - The annotations to declare on the previously defined type variable.
        Returns:
        A new builder that is equal to this builder but with the given annotations declared on the previously defined type variable.