@TraceMethod(action = "refresh", display = "Refresh reference type")
	public void refresh_reference_type_proxy(
			@Param(schema = "ReferenceTypeProxy", name = "proxy") RmiTraceObject obj) {
		try (RmiTransaction tx = cmds.state.trace.openTx("RefreshReferenceType")) {
			String path = obj.getPath();
			String ppath = cmds.getParentPath(path);
			Object parent = getObjectFromPath(ppath);
			if (parent instanceof ObjectReference ref) {
				cmds.putReferenceType(path, ref.referenceType(), false);
			}
			if (parent instanceof ClassObjectReference ref && path.endsWith("ReflectedType")) {
				cmds.putReferenceType(path, ref.reflectedType(), false);
			}
			if (parent instanceof ClassType ct) {
				cmds.putReferenceType(path, ct.superclass(), false);
			}
			if (parent instanceof Method method) {
				cmds.putReferenceType(path, method.declaringType(), false);
			}
		}
	}
NB. Did not assign action="refresh" because this method is expensive. Assigning that action
name will cause the UI to do it upon expanding the node, which we <em>do not</em> want.
Ghidra/Debug/Debugger-jpda/src/main/java/ghidra/dbg/jdi/rmi/jpda/JdiMethods.java