Adds the specified class to a Vector to keep it from being garbage collected, causing static fields to be reset.
(Class c)
| 784 | /** Adds the specified class to a Vector to keep it from being |
| 785 | garbage collected, causing static fields to be reset. */ |
| 786 | public void register(Class c) { |
| 787 | if (!classes.contains(c)) |
| 788 | classes.addElement(c); |
| 789 | } |
| 790 | |
| 791 | /** Called by ImageJ when the user selects Quit. */ |
| 792 | public void quit() { |
nothing calls this directly
no test coverage detected