VariableDescriptor[] () { VariableDescriptor[] array = new VariableDescriptor[myVariableMapping.size() + 1]; for (var entry : myVariableMapping.entrySet()) { array[entry.getValue()] = entry.getKey(); } return array; }