Methods renamed to avoid ambiguity
This commit is contained in:
+1
-1
@@ -24,5 +24,5 @@ import org.jetbrains.jet.lang.resolve.name.FqName;
|
||||
public interface VirtualFileFinder {
|
||||
// TODO: support scope
|
||||
@Nullable
|
||||
VirtualFile find(@NotNull FqName className);
|
||||
VirtualFile findVirtualFile(@NotNull FqName className);
|
||||
}
|
||||
|
||||
+2
-2
@@ -33,8 +33,8 @@ public class VirtualFileKotlinClassFinder implements KotlinClassFinder {
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public KotlinJvmBinaryClass find(@NotNull FqName fqName) {
|
||||
VirtualFile file = virtualFileFinder.find(fqName);
|
||||
public KotlinJvmBinaryClass findKotlinClass(@NotNull FqName fqName) {
|
||||
VirtualFile file = virtualFileFinder.findVirtualFile(fqName);
|
||||
return file == null ? null : new VirtualFileKotlinClass(file);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user