Improvements

- convert String.class to typeof(String)
- convert (A)x to (x as A)
- skip "return" statements, if it's the last statement of the method, always specify the method return type if it's void