addMethod

Adds a new method explicitly declared by this class.