diff --git a/src/main/docs/ant-task.html b/src/main/docs/ant-task.html index 7aa7496f..58ac7012 100644 --- a/src/main/docs/ant-task.html +++ b/src/main/docs/ant-task.html @@ -139,7 +139,8 @@
RetentionPolicy#CLASS
. It can be applied to classes, their methods,
or fields. By default, @de.thetaphi.forbiddenapis.SuppressForbidden
can always be used, but needs the forbidden-apis.jar
file in classpath
- of compiled project, which may not be wanted.
+ of compiled project, which may not be wanted. Instead of a full class name, a glob
+ pattern may be used (e.g., **.SuppressForbidden
).
@@ -164,7 +165,8 @@ You can include multiple <suppressAnnotation classname="...">
elements to specify class names of custom Java annotations that are used in the checked
code to suppress errors. Those annotations must have at least
RetentionPolicy#CLASS
. They can be applied to classes, their methods, or fields. By default, @de.thetaphi.forbiddenapis.SuppressForbidden
-can always be used, but needs the forbidden-apis.jar
file in classpath of compiled project, which may not be wanted.
forbidden-apis.jar
file in classpath of compiled project, which may not be wanted. Instead of a full class name, a glob
+ pattern may be used (e.g., **.SuppressForbidden
).