Annotation Type SuppressIsSafeUriCastCheck


public @interface SuppressIsSafeUriCastCheck
Annotates methods that rely on potentially-unsafe type-annotation casts.

This annotation marks methods in which an expression without a IsSafeUri annotation is used in a context where such an annotation is required (e.g., the return statement of a method that returns @IsSafeUri String).

As such, use of this annotation marks code that is potentially prone to XSS vulnerabilities, and which hence needs to be carefully security reviewed.