Controlp5 - Buttons with private functions

Lets say I had a a method that was apple.eat() how would I put that in a button:
cp5.addButton("apple.eat") doesn’t seem to work