< prev index next >

src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/BaseConfiguration.java

Print this page

        

@@ -280,10 +280,17 @@
     /**
      * Suppress all messages
      */
     public boolean quiet = false;
 
+    /**
+     * Specifies whether those methods that overrides a super-type's method
+     * with no changes to the API contract, should be summarized in the
+     * foot note section.
+     */
+    public boolean summarizeOverriddenMethods = false;
+
     // A list containing urls
     private final List<String> linkList = new ArrayList<>();
 
      // A list of pairs containing urls and package list
     private final List<Pair<String, String>> linkOfflineList = new ArrayList<>();

@@ -593,10 +600,17 @@
                     @Override
                     public boolean process(String opt, List<String> args) {
                         addToSet(excludedQualifiers, args.get(0));
                         return true;
                     }
+                },
+                new Option(resources, "--override-methods", 1) {
+                    @Override
+                    public boolean process(String opt,  List<String> args) {
+                        summarizeOverriddenMethods = args.get(0).equals("summary");
+                        return true;
+                    }
                 },
                 new Hidden(resources, "-quiet") {
                     @Override
                     public boolean process(String opt, List<String> args) {
                         quiet = true;
< prev index next >