aboutsummaryrefslogtreecommitdiffstats
path: root/bcel-builder/testdata/AnnotatedParameters.java
blob: 9cfb2b80b1a3f8f86c40e35b664c23b16165d960 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
public class AnnotatedParameters {


  public static void main(@SimpleAnnotation(id=1) String args[]) {
  }

  public void foo(@SimpleAnnotation(id=2) int arg1, 
                  @SimpleAnnotation(id=3) @AnnotationEnumElement(enumval=SimpleEnum.Red) String arg2) {
    try {
      throw new RuntimeException("eee");
    } catch (@SimpleAnnotation(id=5) Exception ex) {
    }
  }

}