summaryrefslogtreecommitdiffstats
path: root/src/org
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2017-10-28 18:56:11 +1100
committermd_5 <git@md-5.net>2017-10-28 18:58:41 +1100
commit45e71011d14f9b9232e626933022490b3bde93b3 (patch)
tree3abb1f9d2a3129be7cb633f7c6c84022fac4c1a4 /src/org
parentcbcd1a61d6908fa5779d0c1b6a0c980a67f41b07 (diff)
downloadfernflower-45e71011d14f9b9232e626933022490b3bde93b3.tar
fernflower-45e71011d14f9b9232e626933022490b3bde93b3.tar.gz
fernflower-45e71011d14f9b9232e626933022490b3bde93b3.tar.lz
fernflower-45e71011d14f9b9232e626933022490b3bde93b3.tar.xz
fernflower-45e71011d14f9b9232e626933022490b3bde93b3.zip
fixed incorrect constructor method reference
Diffstat (limited to 'src/org')
-rw-r--r--src/org/jetbrains/java/decompiler/main/ClassWriter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/jetbrains/java/decompiler/main/ClassWriter.java b/src/org/jetbrains/java/decompiler/main/ClassWriter.java
index df4511e..f5c5203 100644
--- a/src/org/jetbrains/java/decompiler/main/ClassWriter.java
+++ b/src/org/jetbrains/java/decompiler/main/ClassWriter.java
@@ -111,7 +111,7 @@ public class ClassWriter {
}
buffer.append("::");
- buffer.append(node.lambda_information.content_method_name);
+ buffer.append("<init>".equals(node.lambda_information.content_method_name) ? "new" : node.lambda_information.content_method_name);
}
else {
// lambda method