(Supplier<T> t)
| 303 | } |
| 304 | |
| 305 | public <T> Prop<T> autoConstructs(Supplier<T> t) { |
| 306 | Prop on = this; |
| 307 | if (!isCanon()) { |
| 308 | Prop<T> already = (Prop<T>) findCanon(); |
| 309 | if (already == null) { |
| 310 | toCanon(); |
| 311 | on.setCanon(); |
| 312 | } else { |
| 313 | on = already; |
| 314 | } |
| 315 | } |
| 316 | |
| 317 | |
| 318 | on.autoConstructor = (Supplier) t; |
| 319 | return (Prop<T>) on; |
| 320 | } |
| 321 | |
| 322 | |
| 323 | public List<Class> getTypeInformation() { |
no test coverage detected