mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
This commit is contained in:
@@ -273,7 +273,7 @@ public class PsiJavaParserFacadeImpl extends PsiParserFacadeImpl implements PsiJ
|
||||
String catchSectionText = buffer.toString();
|
||||
final FileElement holderElement = DummyHolderFactory.createHolder(myManager, context).getTreeElement();
|
||||
TreeElement catchSection = getJavaParsingContext(holderElement).getStatementParsing().parseCatchSectionText(catchSectionText);
|
||||
LOG.assertTrue(catchSection != null && catchSection.getElementType() == JavaElementType.CATCH_SECTION);
|
||||
LOG.assertTrue(catchSection != null && catchSection.getElementType() == JavaElementType.CATCH_SECTION, catchSectionText);
|
||||
holderElement.rawAddChildren(catchSection);
|
||||
PsiCatchSection psiCatchSection = (PsiCatchSection)SourceTreeToPsiMap.treeElementToPsi(catchSection);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user