Browse Source

347684: testcode

tags/V1_6_12M1
aclement 13 years ago
parent
commit
abbf983fae
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      tests/features161/optimizedAnnotationBinding/CaseFive.java

+ 3
- 3
tests/features161/optimizedAnnotationBinding/CaseFive.java View File

@@ -8,16 +8,16 @@ public class CaseFive {
o.a();
}

@Anno(4) public void a() {}
@Anno(4.0f) public void a() {}

}

@Retention(RetentionPolicy.RUNTIME)
@interface Anno { int value(); }
@interface Anno { float value(); }

aspect X {

before(int l): execution(@Anno * *(..)) && @annotation(Anno(l)) {
before(float l): execution(@Anno * *(..)) && @annotation(Anno(l)) {
System.out.println(l);
}
}

Loading…
Cancel
Save