class X implements MyAnno { // discouraged Class annotationType() { MyAnno a = this; return a.getClass(); } } • An ordinary class or interface can implement or extend an annotation type • Variables can be of annotation type. • Normally you’d only see this in code that was ...