[java-decompiler] correct decompilation of refs to inner generic classes (IDEA-155430)

master
Roman Shevchenko 8 years ago
parent 2867a8d41f
commit 71bb82acbe
  1. 4
      src/org/jetbrains/java/decompiler/struct/gen/generics/GenericMain.java

@ -1,5 +1,5 @@
/* /*
* Copyright 2000-2015 JetBrains s.r.o. * Copyright 2000-2016 JetBrains s.r.o.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -209,7 +209,7 @@ public class GenericMain {
else { else {
for (GenericType tp : enclosingClasses) { for (GenericType tp : enclosingClasses) {
if (buffer.length() == 0) { if (buffer.length() == 0) {
buffer.append(DecompilerContext.getImportCollector().getShortName(tp.value)); buffer.append(DecompilerContext.getImportCollector().getShortName(tp.value.replace('/', '.')));
} }
else { else {
buffer.append(tp.value); buffer.append(tp.value);

Loading…
Cancel
Save