foreach in Java

Here’s a cool but unfortunately useless example of java generics, combined with reflection, combined with dynamic proxies.

Read the rest of this entry »

Eclipse Action with Generics

I wrote this code a couple of weeks ago. It’s a nice idea on how to use generics in order to reduce the pain of using the Eclipse API.

Read the rest of this entry »