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.

A.java 310B

123456789101112131415
  1. import java.lang.annotation.*;
  2. public class A {
  3. }
  4. aspect X {
  5. declare @type: A: @Foo;
  6. declare parents: A implements java.io.Serializable;
  7. // declare @type: A: @Foo;
  8. // declare @type: A: @Foo;
  9. declare parents: A implements java.io.Serializable;
  10. }
  11. @Retention(RetentionPolicy.RUNTIME)
  12. @interface Foo {}