code: private static File _getClassSource (final Class <?> type)
    {
      if (type != null)
      {
        final String classResource = type.getName ().replace ('.', '/') + ".class";
        return _getResourceSource (classResource, type.getClassLoader ());
      }
      return null;
    }
docs: Gets the JAR file or directory that contains the specified class.
  
  @param type
  The class/interface to find, may be <code>null</code>.
  @return The absolute path to the class source location or <code>null</code>
  if unknown.