Send static methods as parameter and generically call within another method in Java
<p>I want to use static methods from one class (of one type), </p>

<ol>
<li>send them to another method in a different class, and</li>
<li>call them within the different class's method without explicitly using their names</li>
</ol>

<p>so as to make the <strong>call generic</strong>.</p>

<p>Is there any way to achieve this functionality? Some pseudo-code that helps exemplify what I'm trying to do:</p>

<pre><code>public class A
{
     public static void aMethod1()
     {
          //do something
     }

     public static void aMethod2()
     {
          //do something else
     }
}

public class B
{
     public void bMethod(&lt;Parameter that can take any of A's methods polymorphically&gt;)
     {
          &lt;call ANY method sent in by the parameter with the same line of code&gt;
     }
}

public class Main
{
     public static void main(String[] args)
     {
          A obj_A = new A();
          B obj_B = new B();
          obj_B.bMethod(&lt;Send any of A's methods&gt;);
     }
}
</code></pre>

<p>I may be on the completely wrong path but this is how I imagine it might be done. Thanks for your help in advance.</p>