From 83ee4b1efa2b04a90cc6708cb40fc4a9e642e580 Mon Sep 17 00:00:00 2001 From: Tueem Date: Thu, 19 Dec 2024 20:04:53 +0100 Subject: [PATCH] add method name helper method --- .../java/net/tomatentum/marinara/util/ReflectionUtil.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/src/main/java/net/tomatentum/marinara/util/ReflectionUtil.java b/lib/src/main/java/net/tomatentum/marinara/util/ReflectionUtil.java index 2a65282..9446e8f 100644 --- a/lib/src/main/java/net/tomatentum/marinara/util/ReflectionUtil.java +++ b/lib/src/main/java/net/tomatentum/marinara/util/ReflectionUtil.java @@ -100,4 +100,8 @@ public final class ReflectionUtil { } return true; } + + public static String getFullMethodName(Method method) { + return method.getClass().getName() + "." + method.getName(); + } }