some comments

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1160 379699f6-c40d-0410-875b-85095c16579e
branch_1_1
jochen 26 years ago
parent 853a315167
commit 744fd53156
  1. 4
      jode/jode/decompiler/ClassAnalyzer.java

@ -437,8 +437,10 @@ public class ClassAnalyzer
return; return;
} }
/* Clear the SUPER bit, which is also used as SYNCHRONIZED bit. */
int modifiedModifiers = modifiers & ~Modifier.SYNCHRONIZED; int modifiedModifiers = modifiers & ~Modifier.SYNCHRONIZED;
if (clazz.isInterface()) if (clazz.isInterface())
/* interfaces are implicitily abstract */
modifiedModifiers &= ~Modifier.ABSTRACT; modifiedModifiers &= ~Modifier.ABSTRACT;
if (parent instanceof MethodAnalyzer) { if (parent instanceof MethodAnalyzer) {
/* method scope classes are implicitly private */ /* method scope classes are implicitly private */
@ -450,7 +452,7 @@ public class ClassAnalyzer
String modif = Modifier.toString(modifiedModifiers); String modif = Modifier.toString(modifiedModifiers);
if (modif.length() > 0) if (modif.length() > 0)
writer.print(modif + " "); writer.print(modif + " ");
/*interface is in modif*/ /* interface is in modif */
if (!clazz.isInterface()) if (!clazz.isInterface())
writer.print("class "); writer.print("class ");
writer.println(name); writer.println(name);

Loading…
Cancel
Save