public class RutaNoTypeCompletionProposalComputer extends ScriptCompletionProposalComputer {
@Override
protected ScriptCompletionProposalCollector createCollector(
ScriptContentAssistInvocationContext context) {
ScriptCompletionProposalCollector collector = new RutaCompletionProposalCollector(
context.getSourceModule());
collector.setIgnored(CompletionProposal.FIELD_REF, false);
collector.setIgnored(CompletionProposal.KEYWORD, false);
collector.setIgnored(CompletionProposal.PACKAGE_REF, false);
collector.setIgnored(CompletionProposal.LABEL_REF, false);
collector.setIgnored(CompletionProposal.LOCAL_VARIABLE_REF, false);
collector.setIgnored(CompletionProposal.METHOD_DECLARATION, false);
collector.setIgnored(CompletionProposal.METHOD_NAME_REFERENCE, false);
collector.setIgnored(CompletionProposal.METHOD_REF, false);
collector.setIgnored(CompletionProposal.POTENTIAL_METHOD_DECLARATION, false);
collector.setIgnored(CompletionProposal.VARIABLE_DECLARATION, false);
// collector.setIgnored(CompletionProposal.TYPE_REF, true);
collector.setIgnored(CompletionProposal.TYPE_REF, false);
IPreferenceStore preferenceStore = RutaIdeUIPlugin.getDefault().getPreferenceStore();
return collector;
}