public String[] getCssIdentifiers(String propertyName) { StringMap map = getIdentifiers(propertyName); if (map == null) { return new String[0]; } int count = map.size(); List<String> keys = new ArrayList<String>(count); Iterator<String> it = map.keys(); while (it.hasNext()) { String string = it.next(); keys.add(string); } keys.add("inherit"); // NOI18N Collections.sort(keys); return keys.toArray(new String[keys.size()]); }