protein methyltransferase activity [GO_0008276] - Virtual Fly Brain