Java document comments

xiaoxiao2021-03-06  14

============= java document comment ==============

Class Note / ** Class Description * / Public Class NameOfClass {...}

Method Note / ** Method Description @Param Parameters @returN Return Value @throws Most Exception * / Public TypeOfMethod NameOfMethod (Parameter) {...}

General Note / ** @Author Name Author @Version text version @since text starts from, Text can be any description @DepRecated Text to introduce this feature. @DepRecated text. @See Add a hyperlink * /

Extract 1) Single Bag Javadoc -d DOCDIRECTORY NameOfPackage 2) Multiple Bags Javadoc -d DOCDIRECTORY NAMEOFPACKAGE1 NameOfPackage2 3) Files in the default package Javadoc -d DOCDIRECTORY * .JAVA

转载请注明原文地址:https://www.9cbs.com/read-47301.html

New Post(0)