code: public static URL getResource(final Class<?> clasz, final String name) {
          checkNotNull("clasz", clasz);
          checkNotNull("name", name);
          final String nameAndPath = SLASH + getPackagePath(clasz) + SLASH + name;
          return clasz.getResource(nameAndPath);
      }
docs: Get the path to a resource located in the same package as a given class.
  
  @param clasz
  Class with the same package where the resource is located - Cannot be <code>null</code>.
  @param name
  Filename of the resource - Cannot be <code>null</code>.
  
  @return Resource URL.