public void createProposals(final Collection<ContentAssistContext> contexts, final IIdeContentProposalAcceptor acceptor) {
    Iterable<ContentAssistContext> _filteredContexts = this.getFilteredContexts(contexts);
    for (final ContentAssistContext context : _filteredContexts) {
      ImmutableList<AbstractElement> _firstSetGrammarElements = context.getFirstSetGrammarElements();
      for (final AbstractElement element : _firstSetGrammarElements) {
        {
          boolean _canAcceptMoreProposals = acceptor.canAcceptMoreProposals();
          boolean _not = (!_canAcceptMoreProposals);
          if (_not) {
            return;
          }
          this.createProposals(element, context, acceptor);
        }
      }
    }
  }
public void createProposals ( final Collection < ContentAssistContext > contexts , final IIdeContentProposalAcceptor acceptor ) { Iterable < ContentAssistContext > _filteredContexts = this . getFilteredContexts ( contexts ) ; for ( final ContentAssistContext context : _filteredContexts ) { ImmutableList < AbstractElement > _firstSetGrammarElements = context . getFirstSetGrammarElements ( ) ; for ( final AbstractElement element : _firstSetGrammarElements ) { { boolean _canAcceptMoreProposals = acceptor . canAcceptMoreProposals ( ) ; boolean _not = ( ! _canAcceptMoreProposals ) ; if ( _not ) { return ; } this . createProposals ( element , context , acceptor ) ; } } } }
Create content assist proposals and pass them to the given acceptor.