This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
EnumerationClass provides createEnumeration method that requires superClassName and typeParameters arguments. Since the enum syntax does not permit any of these arguments they should be removed from the api.
This is because Enum extends JavaClass. JMI does not allow to filter out attributes from factory methods. In the future we will provide more convenient and suitable factory operations, however the default factories generated according to the JMI spec (as the one you are referring to) cannot be removed.