diff options
author | md_5 <git@md-5.net> | 2017-10-28 18:56:11 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2017-10-28 18:58:41 +1100 |
commit | 45e71011d14f9b9232e626933022490b3bde93b3 (patch) | |
tree | 3abb1f9d2a3129be7cb633f7c6c84022fac4c1a4 | |
parent | cbcd1a61d6908fa5779d0c1b6a0c980a67f41b07 (diff) | |
download | fernflower-45e71011d14f9b9232e626933022490b3bde93b3.tar fernflower-45e71011d14f9b9232e626933022490b3bde93b3.tar.gz fernflower-45e71011d14f9b9232e626933022490b3bde93b3.tar.lz fernflower-45e71011d14f9b9232e626933022490b3bde93b3.tar.xz fernflower-45e71011d14f9b9232e626933022490b3bde93b3.zip |
fixed incorrect constructor method reference
-rw-r--r-- | src/org/jetbrains/java/decompiler/main/ClassWriter.java | 2 |
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 |