|
40 | 40 | * handling methods and annotating each with @{@link EventHandler}. |
41 | 41 | * <p> |
42 | 42 | * Note to developers: This annotation serves exactly the same purpose as |
43 | | - * EventBus's {@link org.scijava.event.bushe.EventSubscriber} |
44 | | - * annotation, recapitulating a subset of the same functionality. We do this to |
45 | | - * avoid third party code depending directly on EventBus. That is, we do not |
46 | | - * wish to require SciJava developers to {@code import org.scijava.event.bushe.*} |
47 | | - * or similar. In this way, EventBus is isolated as only a transitive dependency |
48 | | - * of downstream code, rather than a direct dependency. Unfortunately, because |
49 | | - * Java annotation interfaces cannot utilize inheritance, we have to |
50 | | - * recapitulate the functionality rather than extend it (as we are able to do |
51 | | - * with {@link EventSubscriber}). |
| 43 | + * EventBus's {@code org.scijava.event.bushe.EventSubscriber} annotation, |
| 44 | + * recapitulating a subset of the same functionality. We do this to avoid third |
| 45 | + * party code depending directly on EventBus. That is, we do not wish to require |
| 46 | + * SciJava developers to {@code import org.scijava.event.bushe.*} or similar. In |
| 47 | + * this way, EventBus is isolated as only a transitive dependency of downstream |
| 48 | + * code, rather than a direct dependency. Unfortunately, because Java annotation |
| 49 | + * interfaces cannot utilize inheritance, we have to recapitulate the |
| 50 | + * functionality rather than extend it (as we are able to do with |
| 51 | + * {@link EventSubscriber}). |
52 | 52 | * </p> |
53 | 53 | * |
54 | 54 | * @author Curtis Rueden |
|
0 commit comments