Class |
Anything that comes from a Java Type Declaration beginning with
class except[sic] for Exceptions (see below) |
Interface |
Anything that comes from a Java Type Declaration beginning with
interface |
Enum |
Anything that comes from a Java Type Declaration beginning with
enum |
Annotation |
Anything that comes from a Java Type Declaration beginning with
@interface |
Exception |
Technically, Exceptions are classes in Java, however they are
treated somewhat specially and so it was felt it worthwhile to
distinguish them, especially as Enums, which are also classes,
have been distinguished. |