Comparable (@NotNull final LookupElement element, @NotNull final CompletionLocation location) { if (element instanceof JavaRelevantChainLookupElement) { return ((JavaRelevantChainLookupElement)element).getChainRelevance(); } return null; }