@Override
	public void onUpdatePath(@Nonnull PathNode<?> path) {
		this.path = path;
		if (path instanceof ClassPathNode classPathNode) {
			onSelectClass(classPathNode.getValue());
		} else if (path instanceof ClassMemberPathNode classMemberPathNode) {
			ClassInfo declaring = classMemberPathNode.getParent().getValue();
			ClassMember member = classMemberPathNode.getValue();
			if (member.isField()) {
				onSelectField(declaring, (FieldMember) member);
			} else {
				onSelectMethod(declaring, (MethodMember) member);
			}
		}
	}
Called when {@link #path} is set to a {@link ClassMemberPathNode} of a field.

@param declaring
		Declaring class.
@param field
		Target field.
recaf-ui/src/main/java/software/coley/recaf/ui/pane/editing/assembler/ContextualAssemblerComponent.java