title: Using JSweet to Transpile Java->JS, 'matches' error
body: <p>I'm new to JS. I've written two large Java classes that I want to turn into JS using JSweet. The first smaller one transpiled without issue. With the second, I've hit a wall. It throws this error twice, and no others:</p>
  <pre><code>Line 55: property 'matches' does not exist on type 'string'. Did you mean 'match'?
  </code></pre>
  <p>Line 55 in my class is as follows:</p>
  <pre><code>private String name;
  </code></pre>
  <p>name is at the class level, and given a value later by an object constructor, by which I mean it is contained within no other brackets besides the class. (It happens to be line 55 due to some previous skeleton classes I added before the class I'm transpiling to define dependancies)</p>
  <p>My one theory was that the following line was causing the issues:</p>
  <pre><code>if(pointer.content.equals(sub_table.get_name()))
  </code></pre>
  <p>So I changed it to this:</p>
  <pre><code>if(pointer.content.compareTo(sub_table.get_name())==0)
  </code></pre>
  <p>The idea being that these are two different ways to compare strings, and matches vs. match in JS are also different ways to compare data, and that perhaps I was trying to transpile a method that JS doesn't like. However, the error has not changed. Any clues?</p>