Sync files with modulesync

Is this something that is specifically needed for java? Or something that should be present for all modules?