'Deprecated, use createWithPayload, createFromToken or createFromType.
This method only exists to mimic the Java interface of TreeAdaptor.'

def create(self, *args):

    if ((len(args) == 1) and isinstance(args[0], Token)):
        return self.createWithPayload(args[0])
    if ((len(args) == 2) and isinstance(args[0], (int, long)) and isinstance(args[1], Token)):
        return self.createFromToken(args[0], args[1])
    if ((len(args) == 3) and isinstance(args[0], (int, long)) and isinstance(args[1], Token) and isinstance(args[2], basestring)):
        return self.createFromToken(args[0], args[1], args[2])
    if ((len(args) == 2) and isinstance(args[0], (int, long)) and isinstance(args[1], basestring)):
        return self.createFromType(args[0], args[1])
    raise TypeError(('No    create    method    with    this    signature    found:    %s' % ',    '.join((type(v).__name__ for v in args))))
