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.

AnnotatedParameters.java 383B

123456789101112131415
  1. public class AnnotatedParameters {
  2. public static void main(@SimpleAnnotation(id=1) String args[]) {
  3. }
  4. public void foo(@SimpleAnnotation(id=2) int arg1,
  5. @SimpleAnnotation(id=3) @AnnotationEnumElement(enumval=SimpleEnum.Red) String arg2) {
  6. try {
  7. throw new RuntimeException("eee");
  8. } catch (@SimpleAnnotation(id=5) Exception ex) {
  9. }
  10. }
  11. }