Method overloading by the arity in proxy

2012-10-30 Thread Nikita Beloglazov
Hi. I have a java class that has 2 methods with same but different arities (one take no arguments, other takes 1 argument). I create a proxy that overrides both this methods. The problem is that if no-arg method is called from this java class - base implementation is called instead of proxie's.

Re: Method overloading by the arity in proxy

2012-10-30 Thread Meikel Brandmeyer (kotarak)
Hi, Am Dienstag, 30. Oktober 2012 08:14:22 UTC+1 schrieb Nikita Beloglazov: Hi. I have a java class that has 2 methods with same but different arities (one take no arguments, other takes 1 argument). I create a proxy that overrides both this methods. The problem is that if no-arg method is

Re: Method overloading by the arity in proxy

2012-10-30 Thread Nikita Beloglazov
Thank you, Meikel. Seem I'll need to move to gen-class instead :( Nikita On Tuesday, October 30, 2012 12:41:41 PM UTC+3, Meikel Brandmeyer (kotarak) wrote: Hi, Am Dienstag, 30. Oktober 2012 08:14:22 UTC+1 schrieb Nikita Beloglazov: Hi. I have a java class that has 2 methods with same but