Fixed the bug that a method call was not found when used with local variable:
MyClass mc = new MyClass();
mc.callMethod();
Added a forgotten @override