FileColorConfiguration (@NotNull final Element e) { final String path = e.getAttributeValue(SCOPE_NAME); if (path == null) { return null; } final String colorName = e.getAttributeValue(COLOR); if (colorName == null) { return null; } return new FileColorConfiguration(path, colorName); }