How to disable a method?
<p>I'm not sure how to put this, but I'm going to try and explain my situation.</p>

<p>I have a java method called exampleFunction() defined in Example1.java. And I have another java file Example2.java. Now Example2.java somehow calls exampleFunction() via other methods defined in other files and so on, and I can't seem to figure out where and how the exampleFunction() is being called. </p>

<p>Is there anyway I can have Example2.java NOT run exampleFunction() at all even if it is called up on? That will save me a lot of time in trying to find where the function is being called.</p>
