Annotation Type JsIgnore


  • @Retention(RUNTIME)
    @Target({CONSTRUCTOR,METHOD,FIELD})
    @Documented
    public @interface JsIgnore
    Marks a member to be ignored for JsInterop purposes.

    This is particularly useful when JsType is applied to a class and some members need to be ignored as they don't comply with restrictions (e.g. overloading) or shouldn't be exported for other reasons.