前往
大廳
主題

【Java】文檔註釋

Im Bibong | 2020-11-22 07:24:04 | 巴幣 0 | 人氣 181

標簽 描述
@author 作者
@deprecated 已棄用
{@docRoot} Specifies the path to the root directory of the current documentation
@exception 標示此方法會拋出的錯誤
{@inheritDoc} Inherits a comment from the immediate superclass.
{@link} Inserts an in-line link to another topic.
{@linkplain} Inserts an in-line link to another topic, but the link is displayed in a plain-text font.
@param 對輸入的值進行標示/描述
@return 標示此方法輸出的值
@see Specifies a link to another topic.
@serial Documents a default serializable field.
@serialData Documents the data written by the writeObject( ) or writeExternal( ) methods
@serialField Documents an ObjectStreamField component.
@since States the release when a specific change was introduced.
@throws 與 @exception 意思相同.
{@value} Displays the value of a constant, which must be a static field.
@version 標示版本

創作回應

相關創作

更多創作