How to call my method
<p>I have been trying to call my timeTurn method, and every time I try, nothing happens except errors when I try to compile. I looked online and people kept saying to make classes and then call that method using (e.g. T.timeTurn), and still, it does not work. The error I'm getting says, "timeTurn cannot be resolved or is not a field". Any help would be greatly appreciated.</p>

<pre><code>myFinch.setWheelVelocities(240,255,T.timeTurn);
myFinch.sleep(500);

static class T {

  public static Object timeTurn (int[] length) { 
    int minMillsecond = 1000; 
    int maxMillsecond = 3000; 
    int gap = 33; 
    for(int len : length)
      if (30 &lt;= len &amp;&amp; len &lt;= 90) { 
        len += minMillsecond; 
        while(len &lt; 3000) {
          len+=gap;
        } 
        System.out.println(len); 
      }
    return timeTurn(length); 
  }
}

}
</code></pre>