Annotation Type NoJSR250Annotations


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface NoJSR250Annotations
    Marker annotation to let our JSR250 Processor know not to bother examining the class for annotations as it's know not to have any
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String[] unlessNull
      If these fields are null, it will go ahead and do JSR250 processing as it assumes the values were not set via a constructor.
    • Element Detail

      • unlessNull

        String[] unlessNull
        If these fields are null, it will go ahead and do JSR250 processing as it assumes the values were not set via a constructor. Be careful with this. If the field is injected with a value via @Resource, when the other annotations are processed (@PostConstruct), the field is then not-null so they won't be run. The best bet is to make sure the @Resource setter methods handle any registration or similar
        Default:
        {}