scijava-common icon indicating copy to clipboard operation
scijava-common copied to clipboard

Better sanity checking for plugin types

Open gselzer opened this issue 7 years ago • 0 comments

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).

gselzer avatar Feb 07 '18 21:02 gselzer