Is there any way to fetch and send `current method name` as argument in java?

Making an api to log and provide common methods. public static void start(Class<?> clazz) throws IOException { writeExecutionLog(“Start of” + clazz.getName(), null); } public static void end(Class<?> clazz) throws IOException { writeExecutionLog(“End of” + clazz.getName(), null); } In classes, There are multiple schedulers in different methods which calls above start and end when job is…

Details