From 088718bd207fd72ef411870a36ff0c09eaa153dc Mon Sep 17 00:00:00 2001 From: chiba Date: Sat, 17 May 2003 02:21:42 +0000 Subject: [PATCH] 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 --- src/main/javassist/expr/MethodCall.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); } -- 2.39.5