-
Notifications
You must be signed in to change notification settings - Fork 15
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
Implement all checks for kinds of type references #7
Comments
@nilshartmann FYI, logged this issue for completing the detection logic in the visitor. |
I've already expanded the |
ok, I'll merge with my tests and push my work-in-progress state |
Thanks, @nilshartmann! |
@nilshartmann Just noticed some more situation where no error is raised:
|
I'll have a look! |
@nilshartmann, added two more cases to the check list above. |
@gunnarmorling , I'll add tests for them. If you don't mind you could merge #25 already. Even the new tests in that PR doesn't cover all cases, they'll provide some more safety. |
We can merge it, but it's still missing license headers in some files. Can you run |
@nilshartmann Added the license headers and merged #25. Thanks! |
Currently still missing are references in:
Class<?> cls = InvalidAcess.class
)private other.Bar bar
)Bar.bar()
(interestingly it is, if the type is not imported and the invocation isother.Bar.bar()
)Bar.BAR
);foo(Bar.class);
Class<? extends Bar> clazz = null;
@MyAnno(Bar.class)
v -> { }
var s = getSomething()
The text was updated successfully, but these errors were encountered: