redundant cast: restoring call by top level, let's search by arg list offset in order to avoid finding method calls from qualifiers

This commit is contained in:
Anna.Kozlova
2016-04-20 17:49:29 +02:00
parent 22c8d0f9ce
commit 401ec5dbfa
4 changed files with 26 additions and 5 deletions
@@ -0,0 +1,16 @@
class Test {
{
setFont(getFont().substring((int)fontSize()));
}
void setFont(String s) {}
String getFont() {
return "";
}
double fontSize () {
return 1.0;
}
}