Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

123456789101112131415161718
  1. package bar;
  2. import foo.*;
  3. public aspect MyBar {
  4. before() : call(* main(..)) {}
  5. declare warning: get( * System.out ) : "System.out should not be called";
  6. declare parents : *Foo extends NewClass;
  7. declare @type : *Foo* : @MyAnnotation;
  8. declare @method : public * *Foo.anotMethod(..) : @MyAnnotation;
  9. declare @constructor : *Foo.new(String) : @MyAnnotation;
  10. declare @field : int *Foo.* : @MyAnnotation ;
  11. }