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.

EnumAspect04.aj 301B

123456789101112
  1. import java.lang.annotation.*;
  2. import java.lang.Enum;
  3. public aspect EnumAspect04 {
  4. interface I {};
  5. //declare parents: SimpleE* implements I;
  6. //declare parents: !*Aspect04 implements I;
  7. declare parents: @Foo * implements I;
  8. }
  9. @Retention(RetentionPolicy.RUNTIME)
  10. @interface Foo {}