public ScriptInfo getExistingScriptInfo(ResourceFile script) {
		if (script == null) {
			return null;
		}
		ScriptInfo info = scriptFileToInfoMap.get(script);
		if (info == null) {
			String error = (script.exists() ? "" : "non") + "existing script" + script.toString() +
				" is missing expected ScriptInfo";
			Msg.showError(GhidraScriptInfoManager.class, null, "ScriptInfo lookup", error);
		}
		return info;
	}
Get {@link ScriptInfo} for {@code script} under the assumption that it's already managed.

@param script the script
@return info or null if the assumption was wrong. If null is returned, an error dialog is shown
Ghidra/Features/Base/src/main/java/ghidra/app/script/GhidraScriptInfoManager.java