(DataFacetChangeEvent<CharID, PCGenScoped> dfce)
| 50 | private LoadContextFacet loadContextFacet = FacetLibrary.getFacet(LoadContextFacet.class); |
| 51 | |
| 52 | @Override |
| 53 | public void dataAdded(DataFacetChangeEvent<CharID, PCGenScoped> dfce) |
| 54 | { |
| 55 | CharID id = dfce.getCharID(); |
| 56 | PCGenScoped obj = dfce.getCDOMObject(); |
| 57 | VarModifier<?>[] modifiers = obj.getModifierArray(); |
| 58 | if (modifiers.length > 0) |
| 59 | { |
| 60 | ScopeInstance inst = scopeFacet.get(id, obj); |
| 61 | for (VarModifier<?> vm : modifiers) |
| 62 | { |
| 63 | processAddition(id, obj, vm, inst); |
| 64 | } |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | private <T> void processAddition(CharID id, VarScoped obj, VarModifier<T> vm, ScopeInstance inst) |
| 69 | { |
nothing calls this directly
no test coverage detected