Skip to content

Check if interface is fully implemented by mixin (is it possible?) #151

@Niko-sk2x

Description

@Niko-sk2x

Currently it will fail at runtime if some methods in interface are not implemented when the mixin class is abstract (and it usually is to avoid implementing shadow methods). Would it be possible for the plugin to check if all of them are implemented?

I'm not entirely sure but it looks like it may be possible to implement different interface methods in different mixins, so that may be difficult.

Then there are methods in interfaces with the same name as vanilla methods - if the method has obfuscated name and there is no @Intrinsic method - it will fail at runtime in obfuscated environment. This also could be checked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions