Re: Accessing a protected final method of the superclass

2009-09-16 Thread Sir Diddymus
Thanks Chouser for showing it in a more general way! I've now created an abstract Java class (.java) from the abstract base class, with public methods with different names which in turn call now the original, protected final methods. But this is an ugly hack in my eyes and I think, Clojure shoul

Re: Accessing a protected final method of the superclass

2009-09-15 Thread Chouser
On Tue, Sep 15, 2009 at 2:08 PM, Sir Diddymus wrote: > > Dear all, > > I've successfully extended a Java class (:gen-class and :extends) and > all is working as expected, until I was forced to call a protected > final method of the superclass from within my derived class. I don't > seem find a wa

Accessing a protected final method of the superclass

2009-09-15 Thread Sir Diddymus
Dear all, I've successfully extended a Java class (:gen-class and :extends) and all is working as expected, until I was forced to call a protected final method of the superclass from within my derived class. I don't seem find a way to do this (:exposes-methods really is only for overridden method