public class HtmlSafeMethodNameAnnotator extends Object implements MethodAnnotator
This policy will annotate any method whose name ends with "Html" or starts with "render" as having a HTML safe return value.
| Constructor and Description |
|---|
HtmlSafeMethodNameAnnotator() |
| Modifier and Type | Method and Description |
|---|---|
Collection<Annotation> |
getAnnotationsForMethod(Method method)
Return a collection of annotations for a method
|
public Collection<Annotation> getAnnotationsForMethod(Method method)
MethodAnnotatorgetAnnotationsForMethod in interface MethodAnnotatormethod - Method to annotateCopyright © 2018 Atlassian. All rights reserved.