001    package org.jetbrains.jet.lang.resolve.java.vfilefinder;
002    
003    import com.intellij.openapi.vfs.VirtualFile;
004    import com.intellij.psi.search.GlobalSearchScope;
005    import org.jetbrains.annotations.NotNull;
006    import org.jetbrains.annotations.Nullable;
007    import org.jetbrains.jet.lang.resolve.name.FqName;
008    
009    public interface VirtualFileFinder {
010    
011        @Nullable
012        VirtualFile find(@NotNull FqName className, @NotNull GlobalSearchScope scope);
013        //NOTE: uses all scope by default
014        //TODO: should be removed, scope should always be passed
015        @Nullable
016        VirtualFile find(@NotNull FqName className);
017    }