Hi!

My question is about the ITD generation to Enumeration class types.
You Only can generate ITD for Class types.

ROO avoid this behaviour in AbstractItdMetadataProvider method get:

Code:
public final MetadataItem get(String metadataIdentificationString) {

...	    
// Cancel production if the governor is not a class, and the subclass only wants to know about classes
if (cid != null && dependsOnGovernorBeingAClass && cid.getPhysicalTypeCategory() != PhysicalTypeCategory.CLASS) {
        produceMetadata = false;
}
...
Why ¿?
My problem is that I not able to add an ITD to an Enumeration Class or in other cases to another class type that is not a class.

Is there any reason or this could be an improvement ?

Thank you for your time !

Roo v1.1.0-M1
jdk 1.5.07
Ubuntu 10.04