Adapted Source for java 5.

FeatureIDE cannot work with generics