diff --git a/jadx-gui/src/main/java/jadx/gui/ui/codearea/FridaAction.java b/jadx-gui/src/main/java/jadx/gui/ui/codearea/FridaAction.java index 6bfd6705152..79808f4079f 100644 --- a/jadx-gui/src/main/java/jadx/gui/ui/codearea/FridaAction.java +++ b/jadx-gui/src/main/java/jadx/gui/ui/codearea/FridaAction.java @@ -79,12 +79,12 @@ private String generateMethodSnippet(JMethod jMth) { JavaMethod javaMethod = jMth.getJavaMethod(); MethodInfo methodInfo = javaMethod.getMethodNode().getMethodInfo(); String methodName = StringEscapeUtils.escapeEcmaScript(methodInfo.getName()); - String callMethodName = methodName; if (methodInfo.isConstructor()) { methodName = "$init"; - callMethodName = "$new"; } + + String callMethodName = methodName; String shortClassName = javaMethod.getDeclaringClass().getName(); String functionUntilImplementation;