(PCGenScoped o, Consumer<PCGenScoped> consumer)
| 116 | } |
| 117 | |
| 118 | @Override |
| 119 | public void process(PCGenScoped o, Consumer<PCGenScoped> consumer) |
| 120 | { |
| 121 | //Cast can not fail (as only CDOMObject can have facts) |
| 122 | CDOMObject cdo = (CDOMObject) o; |
| 123 | FactKey<F> fk = def.getFactKey(); |
| 124 | if (toMatch.get().equals(cdo.get(fk))) |
| 125 | { |
| 126 | if (childGrouping == null) |
| 127 | { |
| 128 | consumer.accept(o); |
| 129 | } |
| 130 | else |
| 131 | { |
| 132 | GroupingInfo<?> childInfo = info.getChild(); |
| 133 | for (PCGenScoped childObject : o.getChildren(childInfo.getObjectType())) |
| 134 | { |
| 135 | childGrouping.process(childObject, consumer); |
| 136 | } |
| 137 | } |
| 138 | } |
| 139 | } |
| 140 | } |
nothing calls this directly
no test coverage detected