int () { PsiParameterListStub stub = getGreenStub(); if (stub != null) { int count = 0; for (StubElement<?> child : stub.getChildrenStubs()) { if (child.getStubType() == JavaStubElementTypes.PARAMETER) { count++; } } return count; } return getNode().countChildren(Constants.PARAMETER_BIT_SET); }