From b764972ebafc86e57e2fd26515ce79d7af7c4e42 Mon Sep 17 00:00:00 2001 From: Tueem Date: Thu, 19 Dec 2024 20:15:22 +0100 Subject: [PATCH] make use of new helper method in InteractionMethod --- .../marinara/interaction/methods/InteractionMethod.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/src/main/java/net/tomatentum/marinara/interaction/methods/InteractionMethod.java b/lib/src/main/java/net/tomatentum/marinara/interaction/methods/InteractionMethod.java index b4d7784..437b2de 100644 --- a/lib/src/main/java/net/tomatentum/marinara/interaction/methods/InteractionMethod.java +++ b/lib/src/main/java/net/tomatentum/marinara/interaction/methods/InteractionMethod.java @@ -19,6 +19,7 @@ import net.tomatentum.marinara.interaction.commands.annotation.SubCommand; import net.tomatentum.marinara.parser.AnnotationParser; import net.tomatentum.marinara.parser.InteractionCheckParser; import net.tomatentum.marinara.util.LoggerUtil; +import net.tomatentum.marinara.util.ReflectionUtil; public abstract class InteractionMethod { @@ -93,7 +94,7 @@ public abstract class InteractionMethod { }else parameter = getParameter(context, i-1); - logger.trace("Found parameter {}={} for {}", parameter.getClass().toString(), parameter, getMethod().getClass().getName() + "." + getMethod().getName()); + logger.trace("Found parameter {}={} for method {}", parameter.getClass().toString(), parameter, ReflectionUtil.getFullMethodName(method)); parameters.add(parameter); } return parameters.toArray();