void (UserDefinedJsonSchemaConfiguration configuration) { final Enumeration children = myRoot.children(); while (children.hasMoreElements()) { final MyNode node = (MyNode)children.nextElement(); JsonSchemaConfigurable configurable = (JsonSchemaConfigurable)node.getConfigurable(); if (Objects.equals(configurable.getUiSchema(), configuration)) { selectNodeInTree(node); } } }