User Tools

Site Tools


drafts:mixin_composition

Mixin Composition

Introduction

In Mixin, there are times where it is needed to inject into a lambda or anonymous class, however, it may be relatively brittle or unreliable to try and target the synthetic member directly. There are times when, rather than targeting the synthetic member directly, it is possible to “compose” it. This page aims to detail when it is preferable and possible to compose, and how to approach it.

What is Composition?

TODO

Composing Lambdas

TODO

Composing Anonymous Classes

TODO

Further Reading

drafts/mixin_composition.txt · Last modified: 2025/12/09 22:25 by gauntrecluse