Preferences preferencesForModule(Class cls)
Preferences.absolutePath()of such a node depends whether class provided as a parameter was loaded as a part of any module or not. If so, then absolute path corresponds to slashified code name base of module. If not, then absolute path corresponds to class's package.
cls- the class for which a user preference node is desired.