When i am declaring enums without a class for example consider this class file.
It gives some error in JavaDoc...and where this enum is used in a class. JavaDoc shows some error. Should enums always be in classes even if they are public. Or is there any alternative?
I compiled and ran javadoc on your enum with no problems. That was in the BlueJ IDE. Perhaps it is some other file in your project causing the problem you are experiencing.
From the command line I get:
[ September 02, 2006: Message edited by: Barry Gaunt ]