getConstraints abstract method

List<LinkDeclaration> getConstraints()

Returns the on constraint types for this mixin.

For example, in mixin MyMixin on BaseClass, SomeInterface, this returns a list with TypeDeclarations for BaseClass and SomeInterface.

Returns an empty list if the mixin has no on constraints.

Implementation

List<LinkDeclaration> getConstraints();