|
|
@ -144,9 +144,9 @@ public class LocalInfo { |
|
|
|
} |
|
|
|
} |
|
|
|
if (name == null) { |
|
|
|
if (name == null) { |
|
|
|
if (jode.Decompiler.prettyLocals && type != null) { |
|
|
|
if (jode.Decompiler.prettyLocals && type != null) { |
|
|
|
name = type.getDefaultName(); |
|
|
|
name = type.getHint().getDefaultName(); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
name = type.getDefaultName() |
|
|
|
name = type.getHint().getDefaultName() |
|
|
|
+ (slot >= 0 ? "_" + slot : "") + "_" + serialnr++ + "_"; |
|
|
|
+ (slot >= 0 ? "_" + slot : "") + "_" + serialnr++ + "_"; |
|
|
|
isUnique = true; |
|
|
|
isUnique = true; |
|
|
|
} |
|
|
|
} |
|
|
@ -158,8 +158,8 @@ public class LocalInfo { |
|
|
|
* Get the slot of this local. |
|
|
|
* Get the slot of this local. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public int getSlot() { |
|
|
|
public int getSlot() { |
|
|
|
/* The slot does not change when shadowing */ |
|
|
|
/* The slot may change when shadowing for anonymous locals */ |
|
|
|
return slot; |
|
|
|
return getLocalInfo().slot; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|