}
if (receiver instanceof RubyModule) {
RubyModule module = ((RubyModule) receiver);
for (String name : module.getConstants(true)) {
RubyModule directModule = module.getConstantModule(name);
IRubyObject constant = directModule.getConstant(name);
String baseName = directModule.toString();
String qname = baseName + "::" + name;
CompletionCandidate.Kind kind
= (constant instanceof RubyClass)
? CompletionCandidate.Kind.CLASS