Home | History | Annotate | Download | only in annotation
      1 package org.apache.harmony.annotation.tests.java.lang.annotation;
      2 
      3 import java.lang.annotation.ElementType;
      4 import java.lang.annotation.Retention;
      5 import java.lang.annotation.RetentionPolicy;
      6 import java.lang.annotation.Target;
      7 
      8 @Retention(RetentionPolicy.RUNTIME)
      9 @Target( {ElementType.METHOD})
     10 public @interface TestAnnotation3b {
     11     /*
     12      * only primitive type, String, Class, annotation,
     13      * enumeration are permitted
     14      * or 1-dimensional arrays thereof
     15      */
     16     boolean z() default false;
     17     byte b() default 0;
     18     short s() default 0;
     19     int i() default 100;
     20     long l() default 0;
     21 
     22     float f() default 0.0f;
     23     double d() default 0.0d;
     24 
     25     String aString() default "";
     26     Class aClazz() default Void.class;
     27     TestEnum1 aEnum() default TestEnum1.F;
     28 }
     29