boolean (CompletionParameters parameters) { return JavaSmartCompletionContributor.INSIDE_EXPRESSION.accepts(parameters.getPosition()) && !JavaKeywordCompletion.AFTER_DOT.accepts(parameters.getPosition()) && !SmartCastProvider.inCastContext(parameters); }