This screencast shows the details of how bindgen basically duplicates the effect type-safe anonymous inner classes.
Per the caveat, Eclipse must be running on a JDK6 JVM for the annotation processing to work–it cannot be running on a JDK5 JVM and using the “JDK6” compiler option.