<CONTEXT>container = Utils.getRootContainer(text, null);}</BUG>catch (Exception e) {return null;}<extra_id_0>catch (Exception e) {return null;}<BUG>final PsiClass classToBind = psiManager.findClass(container.getClassToBind(), GlobalSearchScope.allScope(project));result.add(FormNode.constructFormNode(psiManager, classToBind, project, favoritesConfig));}</BUG>return result.isEmpty() ? null : result.toArray(new AbstractTreeNode[result.size()]);</CONTEXT>
if (vFile != null) {final FileType fileType = FileTypeManager.getInstance().getFileTypeByFile(vFile);if (StdFileTypes.GUI_DESIGNER_FORM.equals(fileType)) {final PsiFile formFile = psiManager.findFile(vFile);String text = formFile.getText();String className;try {className = Utils.getBoundClassName(text);