fixes a compilation bug with Java 1.6 (getDeclarationType twice defined)