CompilationUnitCompletion(ICompilationUnit unit){
  reset(unit);
  setIgnored(CompletionProposal.ANONYMOUS_CLASS_DECLARATION,true);
  setIgnored(CompletionProposal.ANONYMOUS_CLASS_CONSTRUCTOR_INVOCATION,true);
  setIgnored(CompletionProposal.KEYWORD,true);
  setIgnored(CompletionProposal.LABEL_REF,true);
  setIgnored(CompletionProposal.METHOD_DECLARATION,true);
  setIgnored(CompletionProposal.METHOD_NAME_REFERENCE,true);
  setIgnored(CompletionProposal.METHOD_REF,true);
  setIgnored(CompletionProposal.CONSTRUCTOR_INVOCATION,true);
  setIgnored(CompletionProposal.METHOD_REF_WITH_CASTED_RECEIVER,true);
  setIgnored(CompletionProposal.PACKAGE_REF,true);
  setIgnored(CompletionProposal.POTENTIAL_METHOD_DECLARATION,true);
  setIgnored(CompletionProposal.VARIABLE_DECLARATION,true);
  setIgnored(CompletionProposal.TYPE_REF,true);
}

CompilationUnitCompletion ( ICompilationUnit unit ) { reset ( unit ) ; setIgnored ( CompletionProposal . ANONYMOUS_CLASS_DECLARATION , true ) ; setIgnored ( CompletionProposal . ANONYMOUS_CLASS_CONSTRUCTOR_INVOCATION , true ) ; setIgnored ( CompletionProposal . KEYWORD , true ) ; setIgnored ( CompletionProposal . LABEL_REF , true ) ; setIgnored ( CompletionProposal . METHOD_DECLARATION , true ) ; setIgnored ( CompletionProposal . METHOD_NAME_REFERENCE , true ) ; setIgnored ( CompletionProposal . METHOD_REF , true ) ; setIgnored ( CompletionProposal . CONSTRUCTOR_INVOCATION , true ) ; setIgnored ( CompletionProposal . METHOD_REF_WITH_CASTED_RECEIVER , true ) ; setIgnored ( CompletionProposal . PACKAGE_REF , true ) ; setIgnored ( CompletionProposal . POTENTIAL_METHOD_DECLARATION , true ) ; setIgnored ( CompletionProposal . VARIABLE_DECLARATION , true ) ; setIgnored ( CompletionProposal . TYPE_REF , true ) ; }
creates a compilation unit completion .
