MinecraftDev icon indicating copy to clipboard operation
MinecraftDev copied to clipboard

Changing error message of @Accessor and @Invoker to include field and parameter types

Open O7410 opened this issue 1 year ago • 0 comments

Minecraft Development for IntelliJ plugin version

2024.1-1.8.0

Description of the feature request

Current behavior: @Invoker error message: "Cannot resolve method X in target class" @Accessor error message: "Cannot find field X in target class"

Wanted behavior: @Invoker error message: "Cannot resolve method 'X(somepackage.FirstArgumentType, someotherpackage.SecondArgumentType) in target class'" (package not required) @Accessor error message: "Cannot find field X of type 'somepackage.FieldType' in target class" (package not required) kinda new stuff (not just changing existing error messages): for @Invoker, if parameter types and name (signature) match but the return type doesn't, give an error specifically about the return type and similarly for @Accessor, if the field name matches but the field type doesn't, give an error specifically about the field type

O7410 avatar Aug 01 '24 13:08 O7410