void (CompletionResult plainResult) { super.consume(plainResult); LookupElement element = plainResult.getLookupElement(); if (element instanceof TypeArgumentCompletionProvider.TypeArgsLookupElement) { ((TypeArgumentCompletionProvider.TypeArgsLookupElement)element).registerSingleClass(session); } }