调整规范倡议的图片引用
This commit is contained in:
parent
548a073d0b
commit
86fdbccfee
Binary file not shown.
|
After Width: | Height: | Size: 72 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 47 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 31 KiB |
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
我们使用IDEA编写代码时,调用到一个写了文档注释的方法。我们可以通过`Ctrl+Q`打开对应的文档注释。从而避免在调用方法时,需要打开该方法的代码页,导致两页代码翻来翻去导致思路打乱的情况。如图:
|
||||
|
||||

|
||||

|
||||
|
||||
### 2、JavaDoc可以识别文档注释生成Java类文档
|
||||
|
||||
|
|
@ -22,12 +22,12 @@
|
|||
|
||||
在写好方法声明后,在方法头输入“/**”后按回车,即可自动生成对应的文档模版,输入对应的内容即可。
|
||||
正例:
|
||||

|
||||

|
||||

|
||||

|
||||
反例:
|
||||

|
||||

|
||||
反例不可被JavaDoc识别
|
||||

|
||||

|
||||
|
||||
## 文档注释基本格式以及常用注解详解
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue