From 34626105ae8e82ccaf726db87f8f6a157079844d Mon Sep 17 00:00:00 2001 From: jannisCode Date: Tue, 26 Nov 2024 15:04:19 +0100 Subject: [PATCH] The Code works now for every method --- .../javaeditor/codemining/CalleeJavaMethodParameterVisitor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/codemining/CalleeJavaMethodParameterVisitor.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/codemining/CalleeJavaMethodParameterVisitor.java index 7f3adecb504..d4140d9f220 100644 --- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/codemining/CalleeJavaMethodParameterVisitor.java +++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/codemining/CalleeJavaMethodParameterVisitor.java @@ -165,7 +165,7 @@ private boolean skipParameterNameCodeMining(String[] parameterNames, List arg } private boolean skipParameterNamesCodeMinings(IMethod method) { - return method.getNumberOfParameters() <= 1; + return false; } private boolean skipParameterNamesCodeMinings(IMethodBinding methodBinding) {