Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

MyBar.aj 420B

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. }