In the previous article, we introduced a method for generating javadoc annotations that can be extracted by JDK. Next we will add a method to generate this annotation ,:
Step 1: move the cursor next to the statement to which you want to add comments. Shortcut: Shift + ALT + J
This method of adding annotations also applies to the data Scope of the class. Personally, the shortcut key takes effect in the following way: if you cannot add comments to the current row, it is automatically converted to the previous layer. For example, if you execute a shortcut key on the previous row of the method, generates class comments.
Next let's talk about how to generate javadoc. As mentioned above, this method of adding comments can be collected using the built-in JDK tool. To check the BINLOG of JDK, javadoc.exe exists. Therefore, you can use the command line to generate javadoc. In the powerful ide of Eclipse, you can easily generate javadoc ,:
Step 1: file --> Export
Step 2: Select javadoc
Step 3: configure the javadoc location on the computer and select the storage location.
In the previous article, eclipse usage and technique 4: generate instructions 1:
Http://blog.csdn.net/ts1122/article/details/8786143
In the next article, eclipse usage and Tips 6: automatically generate get and set methods:
Http://blog.csdn.net/ts1122/article/details/8852555