code: public static Set<String> getWeaveSourceFiles( String[] weaveDirs )
          throws MojoExecutionException
      {
          Set<String> result = new HashSet<String>();
  
          for ( int i = 0; i < weaveDirs.length; i++ )
          {
              String weaveDir = weaveDirs[i];
              if ( FileUtils.fileExists( weaveDir ) )
              {
                  try
                  {
                      result.addAll( FileUtils.getFileNames( new File( weaveDir ), "**/*.class", DEFAULT_EXCLUDES, true ) );
                  }
                  catch ( IOException e )
                  {
                      throw new MojoExecutionException( "IO Error resolving weavedirs", e );
                  }
              }
          }
          return result;
      }
docs: Based on a set of weavedirs returns a set of all the files to be weaved.
  
  @return
  @throws MojoExecutionException