scijava-common
scijava-common copied to clipboard
Better sanity checking for plugin types
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).