protected void addKey() {
IApiBinding binding = (IApiBinding) ((IStructuredSelection) _bindingsTableViewer.getSelection()).getFirstElement();
if (binding != null && _cache != null) {
try {
BindingValueKeyPath bindingValueKeyPath = new BindingValueKeyPath(_wodElement.getBindingValue(binding.getName()), _cache);
if (bindingValueKeyPath.canAddKey()) {
String name = WodCompletionUtils.addKeyOrAction(bindingValueKeyPath, binding, _cache.getComponentType());
getRefactoringElement().setValueForBinding(name, binding.getName());
BindingsInspector.this.refresh();
}
} catch (Exception e) {