Annotation Type DoNotOptimize


  • @Target({TYPE,FIELD,METHOD,CONSTRUCTOR})
    @Retention(CLASS)
    public @interface DoNotOptimize
    A hint (which may or may not be observed) to any optimizers in our tool chain that we don't want optimizations being applied to the annotated elements.