summaryrefslogtreecommitdiffstats
path: root/src/org/jetbrains
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/jetbrains')
-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