int (@NotNull ASTNode child) { LOG.assertTrue(child.getTreeParent() == this); IElementType i = child.getElementType(); if (PARAMETER_SET.contains((i))) { return ChildRole.PARAMETER; } else if (i == COMMA) { return ChildRole.COMMA; } else if (i == LPARENTH) { return getChildRole(child, ChildRole.LPARENTH); } else if (i == RPARENTH) { return getChildRole(child, ChildRole.RPARENTH); } else { return ChildRoleBase.NONE; } }