git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@18 30ef5769-5b8d-40dd-aea6-55b5d6557bb3tags/rel_3_17_1_ga
@@ -131,7 +131,7 @@ public class MethodCall extends Expr { | |||
* Returns true if the called method is of a superclass of the current | |||
* class. | |||
*/ | |||
boolean isSuper() { | |||
public boolean isSuper() { | |||
return iterator.byteAt(currentPos) == INVOKESPECIAL | |||
&& !where().getDeclaringClass().getName().equals(getClassName()); | |||
} |