Parcourir la 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 il y a 21 ans
Parent
révision
088718bd20
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      src/main/javassist/expr/MethodCall.java

+ 1
- 1
src/main/javassist/expr/MethodCall.java Voir le fichier

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

Chargement…
Annuler
Enregistrer