diff --git a/langtools/src/share/classes/com/sun/javadoc/package-info.java b/langtools/src/share/classes/com/sun/javadoc/package-info.java index 15a0fd1af36..5fcc044d928 100644 --- a/langtools/src/share/classes/com/sun/javadoc/package-info.java +++ b/langtools/src/share/classes/com/sun/javadoc/package-info.java @@ -91,32 +91,32 @@ classes:
import com.sun.javadoc.*; -public class ListParams extends Doclet { +public class ListParams extends Doclet { - public static boolean start(RootDoc root) { - ClassDoc[] classes = root.classes(); - for (int i = 0; i < classes.length; ++i) { - ClassDoc cd = classes[i]; - printMembers(cd.constructors()); - printMembers(cd.methods()); + public static boolean start(RootDoc root) { + ClassDoc[] classes = root.classes(); + for (int i = 0; i < classes.length; ++i) { + ClassDoc cd = classes[i]; + printMembers(cd.constructors()); + printMembers(cd.methods()); } return true; } - static void printMembers(ExecutableMemberDoc[] mems) { - for (int i = 0; i < mems.length; ++i) { - ParamTag[] params = mems[i].paramTags(); - System.out.println(mems[i].qualifiedName()); - for (int j = 0; j < params.length; ++j) { - System.out.println(" " + params[j].parameterName() - + " - " + params[j].parameterComment()); + static void printMembers(ExecutableMemberDoc[] mems) { + for (int i = 0; i < mems.length; ++i) { + ParamTag[] params = mems[i].paramTags(); + System.out.println(mems[i].qualifiedName()); + for (int j = 0; j < params.length; ++j) { + System.out.println(" " + params[j].parameterName() + + " - " + params[j].parameterComment()); } } } }Interfaces and methods from the Javadoc API are marked in -red. +red. {@link com.sun.javadoc.Doclet Doclet} is an abstract class that specifies the invocation interface for doclets, {@link com.sun.javadoc.Doclet Doclet} holds class or interface information,