LookupElement (CompletionParameters parameters, List<? extends ExpectedTypeInfo> types, LookupElement element) { if (!types.isEmpty() && parameters.getCompletionType() == CompletionType.SMART) { element = JavaSmartCompletionContributor.decorate(element, types); } return element; }