1 22 package org.jboss.test.aop.jdk15; 23 24 import java.lang.annotation.Retention ; 25 import java.lang.annotation.RetentionPolicy ; 26 27 33 34 @Retention (RetentionPolicy.RUNTIME) 35 public @interface complex 36 { 37 char ch(); 38 39 String string(); 40 41 float flt(); 42 43 double dbl(); 44 45 short shrt(); 46 47 long lng(); 48 49 int integer(); 50 51 boolean bool(); 52 53 single annotation(); 54 55 String [] array(); 56 57 Class clazz(); 58 59 MyEnum enumVal(); 60 } 61 | Popular Tags |