| 300 | } |
| 301 | |
| 302 | @Data |
| 303 | private static final class ChainElement { |
| 304 | private final String type, subtype; |
| 305 | |
| 306 | @Override public String toString() { |
| 307 | return subtype.length() == 0 ? type : String.format("%s:%s", type, subtype); |
| 308 | } |
| 309 | |
| 310 | public boolean hasSubtype() { |
| 311 | return subtype.length() > 0; |
| 312 | } |
| 313 | } |
| 314 | |
| 315 | private List<ChainElement> toChainElements(String program) { |
| 316 | val out = new ArrayList<ChainElement>(); |
nothing calls this directly
no outgoing calls
no test coverage detected