Browse Source

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
tags/rel_3_17_1_ga
chiba 21 years ago
parent
commit
088718bd20
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/main/javassist/expr/MethodCall.java

+ 1
- 1
src/main/javassist/expr/MethodCall.java View File

* Returns true if the called method is of a superclass of the current * Returns true if the called method is of a superclass of the current
* class. * class.
*/ */
boolean isSuper() {
public boolean isSuper() {
return iterator.byteAt(currentPos) == INVOKESPECIAL return iterator.byteAt(currentPos) == INVOKESPECIAL
&& !where().getDeclaringClass().getName().equals(getClassName()); && !where().getDeclaringClass().getName().equals(getClassName());
} }

Loading…
Cancel
Save