albertogoffi / toradocu

Toradocu - automated generation of test oracles from Javadoc documentation
Other
42 stars 21 forks source link

Issue a precise error for annotation declaration #211

Closed ariannab closed 6 years ago

ariannab commented 6 years ago

A .java source file could contain an annotation declaration such as @interface instead of an actual class or interface. Since Toradocu does not support this kind of declaration and accepts any .java file, I think a more precise error would be better than the generic "Impossible to find a class or interface"issued in all the other cases.