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