GO:0008276: protein methyltransferase activity
Catalysis of the transfer of a methyl group (CH3-) to a protein.