This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Exactly. Calling PROTECTED methods is what I can't do without `primitive--virtual-method'
((primitive-virtual-method <java.awt.Component> 'enableEvents <void> (<long>)) (this) mask))))
As this example shows, not only will this make code cleaner, but also allow access to protected members, which is otherwise requires clumsy and dangerous constructs using primitive-virtual-method.
There is also the alternative:
(invoke (this) 'enableEvents mask)
It might be nice to extend this to it works for protected methods
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |