Annotation Type SuppressIsSafeHtmlCastCheck
-
public @interface SuppressIsSafeHtmlCastCheck
Annotates methods that rely on potentially-unsafe type-annotation casts.This annotation marks methods in which an expression without a
IsSafeHtml
annotation is used in a context where such an annotation is required (e.g., the return statement of a method that returns@IsSafeHtml String
).As such, use of this annotation marks code that is potentially prone to HTML-injection vulnerabilities, and which hence needs to be carefully security reviewed.