Add a compiler error for the comparison operator: operands must both be dimensions of the same final type

ex.
  var dim : SampleDim
  var b = dim > new Integer(1) // ERROR: Operands must both be dimensions of the same final type
Fix in FunctionToInterfaceClassGenerator involving getters coming from a java interface