Package groovy.lang

Annotation Interface Mixin


@Deprecated(since="2.3.0") @Documented @Retention(SOURCE) @Target(TYPE) public @interface Mixin
Deprecated.
Static mixins have been deprecated in favour of traits.
Provides a mechanism for mixing in methods into a class.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Deprecated.
    Lists the mixin types to apply.
  • Element Details

    • value

      Class[] value
      Deprecated.
      Lists the mixin types to apply.
      Returns:
      the mixin types