JetNamedFunction#hasBlockBody() by stub

This commit is contained in:
Pavel V. Talanov
2014-03-26 16:26:28 +04:00
parent 1592e649d7
commit 737177a56e
@@ -59,6 +59,10 @@ public class JetNamedFunction extends JetTypeParameterListOwnerStub<PsiJetFuncti
@Override
public boolean hasBlockBody() {
PsiJetFunctionStub stub = getStub();
if (stub != null) {
return stub.hasBlockBody();
}
return getEqualsToken() == null;
}