org.qi4j.lang.scala

## Class ScalaTraitMixin

- java.lang.Object
- - org.qi4j.lang.scala.ScalaTraitMixin

- All Implemented Interfaces:
    InvocationHandler

      @AppliesTo(value=ScalaTraitMixin.TraitFilter.class)
      public class ScalaTraitMixin
      extends Object
      implements InvocationHandler

  Generic mixin that handles delegation to Scala trait implementations.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `ScalaTraitMixin.TraitFilter`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ScalaTraitMixin(Composite composite)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `invoke(Object composite, Method method, Object[] args)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ScalaTraitMixin

          public ScalaTraitMixin(@This
                         Composite composite)

  - ### Method Detail

    - #### invoke

          public Object invoke(Object composite,
                      Method method,
                      Object[] args)
                        throws Throwable

      Specified by:
        `invoke` in interface `InvocationHandler`
      Throws:
        `Throwable`