Skip to content

clojure.core/proxy-super

View this page on ClojureDocs

Type: macro Added: Clojure 1.0 Examples: 2 Runnable: 0
([meth & args])

Use to call a superclass method in the body of a proxy method. Note, expansion captures 'this

Examples

by juan.facorro on . May have evaluation errors.
by BrunoBonacci on . May have evaluation errors.

Note by glchapman

Note that proxy-super calls are not reentrant. If calling the base method results in another call to the virtual method you are overriding (before the proxy-super call has returned), your proxy's code will not be invoked. Instead, the call will go directly to the base class's method.

See also


Content from the matching ClojureDocs page, with authors credited on each contribution.