From: chiba Date: Sat, 17 May 2003 02:21:42 +0000 (+0000) Subject: fixed a simple bug. MethodCall#isSuper() was not public. X-Git-Tag: rel_3_17_1_ga~586 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=088718bd207fd72ef411870a36ff0c09eaa153dc;p=javassist.git fixed a simple bug. MethodCall#isSuper() was not public. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@18 30ef5769-5b8d-40dd-aea6-55b5d6557bb3 --- diff --git a/src/main/javassist/expr/MethodCall.java b/src/main/javassist/expr/MethodCall.java index 06ea6418..281697c2 100644 --- a/src/main/javassist/expr/MethodCall.java +++ b/src/main/javassist/expr/MethodCall.java @@ -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()); }