code: public static Set<Class<?>> getAllAnnotatedClasses(final String packagePath,
  		final Class<? extends Annotation> annotationClass)
  		throws ClassNotFoundException, IOException, URISyntaxException
  	{
  		final List<File> directories = ClassExtensions.getDirectoriesFromResources(packagePath,
  			true);
  		final Set<Class<?>> classes = new HashSet<>();
  		for (final File directory : directories)
  		{
  			classes.addAll(scanForAnnotatedClasses(directory, packagePath, annotationClass));
  		}
  		return classes;
  	}
docs: Gets all annotated classes that belongs from the given package path and the given annotation
  class.
  
  @param packagePath
  the package path
  @param annotationClass
  the annotation class
  @return the all classes
  @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.