@Override
	public void refreshNode(TaskMonitor monitor) throws CancelledException {
		boolean wasMissingPassword = hasMissingPassword();

		updateFileProps(monitor);

		if (wasMissingPassword != hasMissingPassword()) {
			getFSBRootNode().setCryptoStatusUpdated(true);
		}
	}
GTreeNode that represents a file on a filesystem.
Ghidra/Features/Base/src/main/java/ghidra/plugins/fsbrowser/FSBFileNode.java