JetNamedFunction#hasBlockBody() by stub
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user