ResolveKind[] kinds = symbol.getKinds();
if (nameString.endsWith(".")) {
kinds = ResolveKind.javaClassesKinds();
}
ResolveProcessor processor = new SymbolResolveProcessor(StringUtil.trimEnd(name, "."), symbol, incompleteCode, kinds);
resolveImpl(symbol, processor);
if (nameString.contains(".")) {
ResolveProcessor nsProcessor = new SymbolResolveProcessor(nameString, symbol, incompleteCode, ResolveKind.namesSpaceKinds());
resolveNamespace(symbol, nsProcessor);
}
ClojureResolveResult[] candidates = processor.getCandidates();
if (candidates.length > 0) return candidates;