MethodTracer (@NotNull String className, @NotNull String simpleClassName, @NotNull String methodName, @Nullable String methodNameSuffix, @NotNull String desc) { TracerId id = new TracerId(className, methodName, methodNameSuffix, desc); String presentableMethodName = methodName; if (methodNameSuffix != null) { presentableMethodName = methodName + "-" + methodNameSuffix; } return isEnabled() ? tracersMap.putIfAbsent(id, new MethodTracer(id, simpleClassName, presentableMethodName)) : empty; }