1 Reply Latest reply on Sep 26, 2010 11:08 PM by brucechapman

    Setting default value for a method of an annotation type

    843793
      Is it possible to set the default value for a method which has an annotation as return type, so that it is not mandatory.
      @interface A {
        
         B value() default ???
       
         @interface B {}
      }
      Is it anything I could replace ??? with to make the value() optional.

      Thanks,

      Danial