code: public static String getResourcePathFor(CharSequence name, Object obj)
  	{
  		if(obj == null)
  			throw new NullPointerException("obj is null");
  		return getResourcePathFor(name,obj.getClass());
  	}
docs: Gets a resource path using obj's class's package name as
  the prefix.
  @param name The name of the resource.
  @param obj The object to use for the package name
  @return Path of a resource prefixed by obj's class package
  name.
  @throws NullPointerException if name or obj are null.