code: public static String getClassName(Class<?> objectClass) {
          RemoteClass annotation = objectClass.getAnnotation(RemoteClass.class);
          if (annotation != null) {
              return annotation.alias();
          }
          String className = objectClass.getName();
          if (className.startsWith("org.red5.compatibility.")) {
              // Strip compatibility prefix from classname
              className = className.substring(23);
              if ("flex.messaging.messages.AsyncMessageExt".equals(className)) {
                  className = "DSA";
              } else if ("flex.messaging.messages.CommandMessageExt".equals(className)) {
                  className = "DSC";
              } else if ("flex.messaging.messages.AcknowledgeMessageExt".equals(className)) {
                  className = "DSK";
              }
          }
          log.debug("Classname: {}", className);
          return className;
      }
docs: Handles classes by name, also provides "shortened" class aliases where appropriate.
  
  @param objectClass
  class
  @return class name for given object