List<LibraryConfigurable> () { List<LibraryConfigurable> libraryConfigurables = new ArrayList<>(); for (int i = 0; i < myRoot.getChildCount(); i++) { final TreeNode node = myRoot.getChildAt(i); if (node instanceof MyNode) { final NamedConfigurable configurable = ((MyNode)node).getConfigurable(); if (configurable instanceof LibraryConfigurable) { libraryConfigurables.add((LibraryConfigurable)configurable); } } } return libraryConfigurables; }