Skip to content

Commit 95bc4a7

Browse files
committed
fix: add Javadoc
1 parent dc35b69 commit 95bc4a7

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

libcobj/app/src/main/java/jp/osscons/opensourcecobol/libcobj/call/CobolCallStackList.java

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package jp.osscons.opensourcecobol.libcobj.call;
22

3+
/** CALLしたプログラムを階層構造で管理するためのクラス */
34
public class CobolCallStackList {
45
private CobolCallStackList parent;
56
private CobolCallStackList children;
@@ -14,7 +15,11 @@ public CobolCallStackList() {
1415
this.name = null;
1516
}
1617

17-
/** コンストラクタ */
18+
/**
19+
* コンストラクタ
20+
*
21+
* @param name プログラム名
22+
* */
1823
public CobolCallStackList(String name) {
1924
this.parent = null;
2025
this.children = null;
@@ -25,7 +30,7 @@ public CobolCallStackList(String name) {
2530
/**
2631
* 親ノードを取得する
2732
*
28-
* @return 親ノード
33+
* @return parent 親ノード
2934
*/
3035
public CobolCallStackList getParent() {
3136
return parent;
@@ -34,7 +39,7 @@ public CobolCallStackList getParent() {
3439
/**
3540
* 親ノードを設定する
3641
*
37-
* @param parent
42+
* @param parent 親ノード
3843
*/
3944
public void setParent(CobolCallStackList parent) {
4045
this.parent = parent;
@@ -43,7 +48,7 @@ public void setParent(CobolCallStackList parent) {
4348
/**
4449
* 子ノードを取得する
4550
*
46-
* @return
51+
* @return children 子ノード
4752
*/
4853
public CobolCallStackList getChildren() {
4954
return children;
@@ -52,7 +57,7 @@ public CobolCallStackList getChildren() {
5257
/**
5358
* 子ノードを設定する
5459
*
55-
* @param children
60+
* @param children 子ノード
5661
*/
5762
public void setChildren(CobolCallStackList children) {
5863
this.children = children;
@@ -61,7 +66,7 @@ public void setChildren(CobolCallStackList children) {
6166
/**
6267
* 兄弟ノードを取得する
6368
*
64-
* @return
69+
* @return sister 兄弟ノード
6570
*/
6671
public CobolCallStackList getSister() {
6772
return sister;
@@ -70,7 +75,7 @@ public CobolCallStackList getSister() {
7075
/**
7176
* 兄弟ノードを設定する
7277
*
73-
* @param sister
78+
* @param sister 兄弟ノード
7479
*/
7580
public void setSister(CobolCallStackList sister) {
7681
this.sister = sister;
@@ -85,11 +90,11 @@ public String getName() {
8590
return name;
8691
}
8792

88-
/**
89-
* プログラム名を設定する
90-
*
91-
* @param name
92-
*/
93+
// /**
94+
// * プログラム名を設定する
95+
// *
96+
// * @param name
97+
// */
9398
// public void setName(String name) {
9499
// this.name = name;
95100
// }

0 commit comments

Comments
 (0)