public ScriptInfo getScriptInfo(ResourceFile scriptFile) {
		ScriptInfo info = scriptFileToInfoMap.get(scriptFile);
		if (info != null) {
			return info;
		}

		info = GhidraScriptUtil.newScriptInfo(scriptFile);
		scriptFileToInfoMap.put(scriptFile, info);
		String name = scriptFile.getName();

		List<ResourceFile> matchingFiles =
			scriptNameToFilesMap.computeIfAbsent(name, (n) -> new ArrayList<>());
		matchingFiles.add(scriptFile);
		markAnyDuplicates(matchingFiles);

		return info;
	}
Returns the script info object for the specified script file,
construct a new one if necessary.

<p>Only call this method if you expect to be creating ScriptInfo objects.
Prefer getExistingScriptInfo instead. 

@param scriptFile the script file
@return the script info object for the specified script file
Ghidra/Features/Base/src/main/java/ghidra/app/script/GhidraScriptInfoManager.java