GrDocMethodParameter[] () { List<GrDocMethodParameter> result = new ArrayList<>(); for (PsiElement cur = getFirstChild(); cur != null; cur = cur.getNextSibling()) { if (cur instanceof GrDocMethodParameter) result.add((GrDocMethodParameter)cur); } return result.toArray(new GrDocMethodParameter[0]); }