Issue 252: Guice-AOP invok "synthetic" method
http://code.google.com/p/google-guice/issues/detail?id=252

Comment #1 by anthony.muller:
I discover the origin of this problem:

interface ITotoService {
      IToto doSomething();
}

class TotoServiceImpl {
      Toto doSomething() {
         return ..... ;
      }
}

Observe the return type of both methods.

First, the interface, returns IToto.
Second, the implementation returns Toto.

In this case, the invoke() method of a Matcher<Method> class is called  
twice!

I think Guice should not ask for invocation when a method is "synthetic"  
("volatile",
"bridge", ... any methods generated by compiler)...

What's your point of view?

Regards,
Anthony MÜLLER



-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-guice-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to