void (@NotNull CharSequence scopeName, @NotNull Plist plist) { final PListValue shellVariables = plist.getPlistValue(Constants.SHELL_VARIABLES_KEY); if (shellVariables != null) { for (PListValue variable : shellVariables.getArray()) { Plist variablePlist = variable.getPlist(); String name = variablePlist.getPlistValue(Constants.NAME_KEY, "").getString(); String value = variablePlist.getPlistValue(Constants.VALUE_KEY, "").getString(); addVariable(new TextMateShellVariable(scopeName, name, value)); } } }