(LoadContext context, VarContainer obj)
| 184 | } |
| 185 | |
| 186 | @Override |
| 187 | public String[] unparse(LoadContext context, VarContainer obj) |
| 188 | { |
| 189 | List<String> modifiers = new ArrayList<>(); |
| 190 | for (VarModifier<?> vm : obj.getModifierArray()) |
| 191 | { |
| 192 | String sb = vm.getVarName() |
| 193 | + Constants.PIPE |
| 194 | + unparseModifier(vm); |
| 195 | modifiers.add(sb); |
| 196 | } |
| 197 | if (modifiers.isEmpty()) |
| 198 | { |
| 199 | //Legal |
| 200 | return null; |
| 201 | } |
| 202 | return modifiers.toArray(new String[0]); |
| 203 | } |
| 204 | |
| 205 | /** |
| 206 | * Unparses a VarModifier into the string of instructions used to produce it. |
nothing calls this directly
no test coverage detected