Cleanup (formatting)
This commit is contained in:
@@ -347,8 +347,7 @@ public class DomHelper {
|
||||
}
|
||||
else {
|
||||
if (mapstage == 2 || mapRefreshed) { // last chance lost
|
||||
DecompilerContext.getLogger().writeMessage("Statement cannot be decomposed although reducible!",
|
||||
IFernflowerLogger.Severity.ERROR);
|
||||
DecompilerContext.getLogger().writeMessage("Statement cannot be decomposed although reducible!", IFernflowerLogger.Severity.ERROR);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -95,7 +95,7 @@ public class NewExprent extends Exprent {
|
||||
if (anonymous) {
|
||||
ClassNode node = DecompilerContext.getClassProcessor().getMapRootClasses().get(newtype.value);
|
||||
|
||||
return node.anonimousClassType;
|
||||
return node.anonymousClassType;
|
||||
}
|
||||
else {
|
||||
return newtype;
|
||||
@@ -233,13 +233,13 @@ public class NewExprent extends Exprent {
|
||||
if (!enumconst) {
|
||||
String enclosing = null;
|
||||
if (!lambda && constructor != null) {
|
||||
enclosing = getQualifiedNewInstance(child.anonimousClassType.value, constructor.getLstParameters(), indent, tracer);
|
||||
enclosing = getQualifiedNewInstance(child.anonymousClassType.value, constructor.getLstParameters(), indent, tracer);
|
||||
}
|
||||
|
||||
String typename = ExprProcessor.getCastTypeName(child.anonimousClassType);
|
||||
String typename = ExprProcessor.getCastTypeName(child.anonymousClassType);
|
||||
|
||||
if (enclosing != null) {
|
||||
ClassNode anonimousNode = DecompilerContext.getClassProcessor().getMapRootClasses().get(child.anonimousClassType.value);
|
||||
ClassNode anonimousNode = DecompilerContext.getClassProcessor().getMapRootClasses().get(child.anonymousClassType.value);
|
||||
if (anonimousNode != null) {
|
||||
typename = anonimousNode.simpleName;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user