title: Call method from another file as string in Java
body: <p>I have file <code>ClassifierModule.java</code> with following method:</p>
  
  <pre><code>public class ClassifierModule extends ReactContextBaseJavaModule implements BufferListener {
  
      public int measureRatio(double[] means) {
          return (int) (means[3] / means[1]) ;
      }
  }
  </code></pre>
  
  <p>I'm trying to call this method to create a <code>String</code> in another .java file like this:</p>
  
  <pre><code>public static void main(String[] args) {
      int r = ClassifierModule.measureRatio(double[]);
  }
  </code></pre>
  
  <p>The only result I get is an error:</p>
  
  <pre><code>error: '.class' expected:
  int r = ClassifierModule.measureRatio(double[]);
                                                ^
  </code></pre>
  
  <p>What am I doing wrong?</p>
  
  <p>Here is the fuul code of ClassifierModule.java -> <a href="https://drive.google.com/file/d/1M6UlRkGEduBxQIsuOz93HEMGPtI8NiB9/view?usp=sharing" rel="nofollow noreferrer">https://drive.google.com/file/d/1M6UlRkGEduBxQIsuOz93HEMGPtI8NiB9/view?usp=sharing</a></p>