Added support for Generics from Java 1.5. Only tested one or two cases so far. Needs auto-boxing support.