aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/annotations/AnnotationAspect01.aj
blob: 5eed11ee80f3dfc96384c8f53af94e4e414808fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
public aspect AnnotationAspect01 {

  // ITDC - not allowed
  public SimpleAnnotation.new(int i) {
  }

  // ITDM - not allowed
  public int SimpleAnnotation.newMember(int i) {
    return 75346;
  }

  // ITDF - not allowed
  public int SimpleAnnotation.newField;
}