code: public static String getLogicalName(Class<?> clazz, String trailingName) {
          return getLogicalName(clazz.getName(), trailingName);
      }
docs: Retrieves the logical class name of a Micronaut artifact given the Micronaut class
  and a specified trailing name.
  
  @param clazz        The class
  @param trailingName The trailing name such as "Controller" or "Service"
  @return The logical class name