code: @Nullable
    public static String getClassPackageName (@Nullable final String sClassName)
    {
      if (sClassName == null)
        return null;
  
      final int nIndex = sClassName.lastIndexOf ('.');
      return nIndex == -1 ? "" : sClassName.substring (0, nIndex);
    }
docs: Get the name of the package the passed class resides in.
  
  @param sClassName
  The name class to get the information from. May be <code>null</code>
  .
  @return The package name of the passed class.