MinecraftDev
MinecraftDev copied to clipboard
Add inspection for the "Factory @Invoker must be static" mixin error
Minecraft Development for IntelliJ plugin version
2024.1-1.8.0
Description of the feature request
An inspection with the same message and a quick fix to make the method static The error message gets triggered in mixin is these methods: The method that decides the accessor type: AnnotatedMixinElementHandlerAccessor#attach The method that triggers the error if it's a non static factory: AnnotatedMixinElementHandlerAccessor#registerFactoryForTarget This is low priority since it's very easy to see what the problem is when you try to run it