public NameEnvironmentAnswer findClass(String sourceFileWithoutExtension, String qualifiedPackageName, String qualifiedSourceFileWithoutExtension) {
SimpleLookupTable dirTable = directoryTable(qualifiedPackageName);
if (dirTable != null && dirTable.elementSize > 0) {
IFile file = (IFile) dirTable.get(sourceFileWithoutExtension);
if (file != null) {
return new NameEnvironmentAnswer(new ResourceCompilationUnit(file, file.getLocationURI()), null /* no access restriction */);
}
}
return null;
}