@staticmethod
def argument_shorthand(tree):
    """
        Try to convert argument to shorthand syntax if possible.
        """
    assert tree.data == 'arguments'
    if len(tree.children) == 1:
        path = tree.child(0).follow_node_chain(['expression', 'entity', 'path']
            )
        if path is not None:
            tree.children = [path.child(0), tree.children[0]]
