getMixinConstraints<I> abstract method

Iterable<Class<I>> getMixinConstraints<I>()

Returns all mixin constraints that match the given constraint type I.

This allows filtering mixin constraints by a specific interface or superclass type.


Type Parameters

  • I: The constraint type to filter for

Returns

  • An Iterable of matching mixin constraints
  • An empty iterable if no matching constraints are found

Notes

  • Matching includes generic instantiations
  • Inherited constraints are not considered (only declared on clauses)

Implementation

Iterable<Class<I>> getMixinConstraints<I>();