1package android.test.anno; 2 3@AnnoFancyType(num=5) // first occurrence of AnnoFancyType 4 // we inherit @AnnoSimpleType 5@AnnoSimpleType2 // AnnoSimpleType2 here *and* inherited from parent 6public class SubNoted extends SimplyNoted implements INoted { 7 int mBar; 8 9 public int bar() { 10 return 0; 11 } 12} 13