Welcome! Please see the About page for a little more info on how this works.

0 votes
in Docs by

The docstring for gen-class says the following regarding the :exposes-methods option:

"It is sometimes necessary to call the superclass' implementation of an
overridden method. Those methods may be exposed and referred in
the new method implementation by a local name."

To me, this suggests that supplying something like {foo fooSuper} allows me to use the symbol fooSuper in my new method implementation. Doing this actually results in an error while compiling because fooSuper cannot be resolved. It seems that what actually happens is that a fooSuper instance method is defined, which calls the superclass's implementation. The docstring should be updated to reflect this.

1 Answer

0 votes
by
Reference: https://clojure.atlassian.net/browse/CLJ-1027 (reported by alex+import)
...