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

Better sanity checking for plugin types #316

Open
gselzer opened this issue Feb 7, 2018 · 0 comments
Open

Better sanity checking for plugin types #316

gselzer opened this issue Feb 7, 2018 · 0 comments

Comments

@gselzer
Copy link
Member

gselzer commented Feb 7, 2018

When annotating an @Plugin with a plugin type it is expected that the class be of that type. But the annotation processor does not enforce or even warn when the class is not of the type. This invites programming errors (e.g. in ImageJ Ops, where each op must implement a specific sub-interface).

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

No branches or pull requests

1 participant