[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
O7410 opened this issue Aug 1, 2024 · 0 comments

Comments

@O7410
Copy link
Contributor
O7410 commented Aug 1, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants