Annotation Type SuppressIsTrustedResourceUriCastCheck
public @interface SuppressIsTrustedResourceUriCastCheck
Annotates methods that rely on potentially-unsafe type-annotation casts.
This annotation marks methods in which an expression without a
IsTrustedResourceUri
annotation is used in a
context where such an annotation is required (e.g., the return statement of a method that
returns @IsTrustedResourceUri 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.