boolean (@NotNull JTree tree, @Nullable TreePath path, int x, int y) { if (LazyLocationInExpandControl.METHOD == null || path == null) return false; // system error or undefined path try { return (Boolean)LazyLocationInExpandControl.METHOD.invoke(tree.getUI(), path, x, y); } catch (Exception exception) { LOG.error(exception); return false; // unexpected } }