You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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