private static void collectKeys( String lookAndFeelClassName, HashSet<String> keys ) {
		try {
			UIManager.setLookAndFeel( lookAndFeelClassName );
		} catch( Exception ex ) {
			ex.printStackTrace();
			return;
		}

		UIDefaults defaults = UIManager.getLookAndFeel().getDefaults();

		for( Object key : defaults.keySet() ) {
			if( key instanceof String && !ignoreKey( (String) key ) )
				keys.add( (String) key );
		}
	}
Collects all FlatLaf UI defaults keys and dumps them to a file.

@author Karl Tauber
flatlaf-testing/src/main/java/com/formdev/flatlaf/testing/uidefaults/UIDefaultsKeysDump.java