Commit c49fc3b
Add fallback comments for generated composite fields and classes
Generated composite fields and the composite class itself were emitted
without a Javadoc comment when the XML carried no comment, producing
"no comment" warnings. Fall back to "The <name> field." and
"The <name> structure." respectively when the XML comment is absent,
while still using the XML comment when present.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 2b0573d commit c49fc3b
2 files changed
Lines changed: 10 additions & 2 deletions
File tree
- api-generator/generator-java/src/main/java/esa/mo/tools/stubgen/java
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
148 | 152 | | |
149 | 153 | | |
150 | 154 | | |
| |||
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
85 | 89 | | |
86 | | - | |
| 90 | + | |
87 | 91 | | |
88 | 92 | | |
89 | 93 | | |
| |||
0 commit comments