|
@@ -38,7 +38,11 @@ public class ExcludePrivateAnnotationsStandardDoclet {
|
|
|
public static boolean start(RootDoc root) {
|
|
|
System.out.println(
|
|
|
ExcludePrivateAnnotationsStandardDoclet.class.getSimpleName());
|
|
|
- return Standard.start(RootDocProcessor.process(root));
|
|
|
+ RootDoc excludedDoc = RootDocProcessor.process(root);
|
|
|
+ if (excludedDoc.specifiedPackages().length == 0) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return Standard.start(excludedDoc);
|
|
|
}
|
|
|
|
|
|
public static int optionLength(String option) {
|