Sfoglia il codice sorgente

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 anni fa
parent
commit
088718bd20
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      src/main/javassist/expr/MethodCall.java

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

@@ -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());
}

Loading…
Annulla
Salva