private ResourceFile findModuleForJavaSource(String sourcePath) {

		List<ResourceFile> javaSrcDirectories = new ArrayList<>();

		Collection<ResourceFile> moduleRootDirectories = getModuleRootDirectories();
		for (ResourceFile moduleDirectory : moduleRootDirectories) {

			javaSrcDirectories.clear();
			findJavaSourceDirectories(javaSrcDirectories, moduleDirectory);

			for (ResourceFile javaSrcDir : javaSrcDirectories) {
				ResourceFile child = new ResourceFile(javaSrcDir, sourcePath);
				if (child.exists()) {
					return moduleDirectory;
				}
			}
		}

		return null;
	}
If the Application was previously initialized with logging disabled, this method
may be used to perform delayed logging initialization.

@param logFile application log file, if null the default <i>application.log</i> will be stored
within the user's application settings directory
@param scriptLogFile scripting log file, if null the default <i>script.log</i> will be stored
within the user's application settings directory
@throws AssertException if Application has not yet been initialized, or logging
was previously configured for the application.
Ghidra/Framework/Generic/src/main/java/ghidra/framework/Application.java