'Called when a class is visited.'

def visitFunction(self, node):

    super(TwistedModuleVisitor, self).visitFunction(node)
    func = self.builder.current.contents[node.name]
    if func.decorators:
        getDeprecated(func, list(func.decorators))
