code: public static Map<Class<?>, ImportResource[]> getImportResources(final String packageName)
  		throws ClassNotFoundException, IOException, URISyntaxException
  	{
  		final Map<Class<?>, ImportResource[]> resourcesMap = new LinkedHashMap<>();
  
  		final Class<ImportResources> importResourcesClass = ImportResources.class;
  		final Class<ImportResource> importResourceClass = ImportResource.class;
  		final Set<Class<?>> importResourcesClasses = AnnotationExtensions
  			.getAllAnnotatedClasses(packageName, importResourcesClass);
  		final Set<Class<?>> importResourceClasses = AnnotationExtensions
  			.getAllAnnotatedClasses(packageName, importResourceClass);
  		importResourcesClasses.addAll(importResourceClasses);
  		for (final Class<?> annotatedClass : importResourcesClasses)
  		{
  			final ImportResources importResources = annotatedClass
  				.getAnnotation(ImportResources.class);
  			ImportResource[] importResourcesArray = null;
  			ImportResource[] importResourceArray = null;
  			if (importResources != null)
  			{
  				importResourcesArray = importResources.resources();
  			}
  
  			final ImportResource importResource = annotatedClass
  				.getAnnotation(ImportResource.class);
  			if (importResource != null)
  			{
  				importResourceArray = new ImportResource[1];
  				importResourceArray[0] = importResource;
  			}
  			final ImportResource[] array = ArrayUtils.addAll(importResourceArray,
  				importResourcesArray);
  			Arrays.sort(array, new ImportResourceComparator());
  			resourcesMap.put(annotatedClass, array);
  
  		}
  		return resourcesMap;
  	}
docs: Gets a {@link Map} with {@link ImportResource} objects and the corresponding to the found
  class from the given package Name. The search is made recursive. The key from an entry of the
  map is the class where the {@link ImportResource} objects found and the value is an Array of
  the {@link ImportResource} objects that contains in the class.
  
  @param packageName
  the package name
  @return the import resources
  @throws ClassNotFoundException
  occurs if a given class cannot be located by the specified class loader
  @throws IOException
  Signals that an I/O exception has occurred.
  
  @throws URISyntaxException
  is thrown if a string could not be parsed as a URI reference.