1. Try creating a empty public method first and then access it
2. Then place code and access it.
Since there's no reason one method of class will not be shown while others working fine unless
1. It is not public
2. You have made some mistake while declaring or calling