String (@Nullable final String name) { if (StringUtil.isEmptyOrSpaces(name)) { return null; } for (String[] stringArray : myPropertyNames) { if (stringArray[0].equals(name)) { return stringArray.length > 1 ? stringArray[1] : stringArray[0]; } } return null; }