Annotation Type Deterministic


  • @Retention(RUNTIME)
    @Target({CONSTRUCTOR,METHOD,TYPE})
    public @interface Deterministic
    Specifies that function is deterministic (i.e. returns the same output given the same inputs).

    Deterministic functions can be factored out by optimizer to static fields.