diff --git a/src/org/jetbrains/java/decompiler/modules/decompiler/exps/InvocationExprent.java b/src/org/jetbrains/java/decompiler/modules/decompiler/exps/InvocationExprent.java index f92682a..8472cef 100644 --- a/src/org/jetbrains/java/decompiler/modules/decompiler/exps/InvocationExprent.java +++ b/src/org/jetbrains/java/decompiler/modules/decompiler/exps/InvocationExprent.java @@ -248,7 +248,7 @@ public class InvocationExprent extends Exprent { if (invocationTyp == INVOKE_SPECIAL) { if (!classname.equals(this_classname)) { // TODO: direct comparison to the super class? StructClass cl = DecompilerContext.getStructContext().getClass(classname); - boolean isInterface = cl != null && (cl.getAccessFlags() & CodeConstants.ACC_INTERFACE) != 0; + boolean isInterface = cl != null && cl.hasModifier(CodeConstants.ACC_INTERFACE); super_qualifier = !isInterface ? this_classname : classname; } }