docs: public static String getUniquePrefix(EnterpriseBean enterpriseBean)
      {
          String prefix = "";
  
          switch (enterpriseBean.getKindValue())
          {
              case EnterpriseBean.KIND_SESSION:
                  switch (((Session) enterpriseBean).getSessionTypeValue())
                  {
                      case Session.SESSION_TYPE_STATELESS:
                          prefix = "Stateless";
                          break;
                      case Session.SESSION_TYPE_STATEFUL:
                          prefix = "Stateful";
                          break;
                      case Session.SESSION_TYPE_SINGLETON:
                          prefix = "Singleton";
                          break;
                      default:
                          if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled())
                              Tr.event(tc, "Unknown session bean type");
                          break;
                  }
                  break;
  
              case EnterpriseBean.KIND_ENTITY:
                  if (((Entity) enterpriseBean).getPersistenceTypeValue() == Entity.PERSISTENCE_TYPE_CONTAINER)
                  {
                      prefix = "CMP";
                  }
                  else
                  {
                      prefix = "BMP";
                  }
                  break;
  
              case EnterpriseBean.KIND_MESSAGE_DRIVEN:
                  if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled())
                      Tr.event(tc, "EJB Internal Error - " +
                                   "MessageDriven has no unique prefix");
                  break;
  
              default:
                  if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) //130050
                      Tr.event(tc, "Unknown bean type");
          }
  
          return prefix;
      }