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.

pr99191_2.java 343B

1234567891011121314
  1. @interface Annotation{}
  2. aspect B {
  3. declare @field : int C.anotherField : @Annotation; // should be woven
  4. declare @field : int someField : @Annotation; // shouldn't have any errors
  5. declare @field : int C.aField : @Annotation; // shouldn't have any errors
  6. }
  7. class C {
  8. @Annotation int aField = 1;
  9. }
  10. aspect D {
  11. public int C.anotherField;
  12. }