else if (isPrimitive(expandedClassName)) {
// ignore primitives
}
else {
SearchEngine searchEngine = new SearchEngine();
IJavaSearchScope searchScope = JavaSearchScopeFactory.getInstance().createJavaProjectSearchScope(javaProject, JavaSearchScopeFactory.ALL);
NullProgressMonitor progressMonitor = new NullProgressMonitor();
TypeNameCollector typeNameCollector = new TypeNameCollector(javaProject, false);
searchEngine.searchAllTypeNames(null, SearchPattern.R_EXACT_MATCH, shortClassName.toCharArray(), IJavaSearchConstants.TYPE, IJavaSearchConstants.TYPE, searchScope, typeNameCollector, IJavaSearchConstants.WAIT_UNTIL_READY_TO_SEARCH, progressMonitor);
Set<String> typeNames = typeNameCollector.getTypeNames();
if (typeNames.size() == 1) {