diff options
Diffstat (limited to 'src/org/jetbrains/java/decompiler/util/VarHelper.java')
-rw-r--r-- | src/org/jetbrains/java/decompiler/util/VarHelper.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/org/jetbrains/java/decompiler/util/VarHelper.java b/src/org/jetbrains/java/decompiler/util/VarHelper.java index 5001cb0..3828159 100644 --- a/src/org/jetbrains/java/decompiler/util/VarHelper.java +++ b/src/org/jetbrains/java/decompiler/util/VarHelper.java @@ -66,6 +66,11 @@ public class VarHelper { return name; } + while (type.contains( "<" )) { + type = type.substring(0, type.indexOf('<')) + type.substring(type.indexOf('>') + 1); + } + type = type.replace( '.', '_' ); + if (type.endsWith("]")) { type = "a" + type.substring(0, type.indexOf('[')); } else if (varArgs) { |