I'm thinking about using annotation to mark a method that has certain
aspects, and then be processed by the deferred binding, adding necessary
pieces as needed (kinda like a python's method decorator). Here's a example:

class Foo {

  @Logged
  public void bar() {
    // do something
  }

}

and when the generator sees @Logged, it adds a call to log the entrance and
exit of the method. I'm wondering if that's possible.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to