private ResourceFilter recurseFilter;
protected AnnotationEnvironment createAnnotationEnvironment(VirtualFile root)
{
DeploymentResourceLoader loader = new VFSDeploymentResourceLoaderImpl(root);
ClassLoader classLoader = new DeploymentResourceClassLoader(loader);
GenericAnnotationResourceVisitor visitor = new GenericAnnotationResourceVisitor(classLoader);
ResourceFilter filter = this.filter;
if (filter == null)
filter = visitor.getFilter();
VFSResourceVisitor.visit(new VirtualFile[]{root}, null, included, excluded, classLoader, visitor, filter, recurseFilter);