(String doc)
| 185 | } |
| 186 | |
| 187 | public <T> Prop<T> doc(String doc) { |
| 188 | Prop on = this; |
| 189 | if (!isCanon()) { |
| 190 | Prop<T> already = (Prop<T>) findCanon(); |
| 191 | if (already == null) { |
| 192 | toCanon(); |
| 193 | on.setCanon(); |
| 194 | } else { |
| 195 | on = already; |
| 196 | } |
| 197 | } |
| 198 | |
| 199 | on.documentation = doc; |
| 200 | return (Prop<T>) on; |
| 201 | } |
| 202 | |
| 203 | public String getDocumentation() { |
| 204 | return documentation; |
no test coverage detected