Skip to content

New error inspection: "Invoker has the same method name as target method" #2342

@Octol1ttle

Description

@Octol1ttle

Minecraft Development for IntelliJ plugin version

2024.1-1.8.0

Description of the feature request

In Mixins, if the invoker method has the same name as the target method, then non-obfuscated environments will encounter a StackOverflowError upon calling the method. Without a proficient understanding of how Mixin merges @Mixin classes with their targets, it may be difficult for developers to debug this. Having an inspection with an Error severity would help them notice this issue before it causes problems

Metadata

Metadata

Assignees

No one assigned

    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