* @param ed
*/
private static IContentAssistProcessor getWojJavaCompletionProcessor30(CompilationUnitEditor ed) {
try {
ContentAssistant assistant = (ContentAssistant) HookUtil.getPrivateAttributeValue(SourceViewer.class, "fContentAssistant", ed.getViewer()); //$NON-NLS-1$
IContentAssistProcessor processor = (IContentAssistProcessor) HookUtil.newInstance("org.jayasoft.woj.client.util.completion.eclipse30.WojJavaCompletionProcessor",new Class[]{IEditorPart.class} ,new Object[]{ed}); //$NON-NLS-1$
assistant.setContentAssistProcessor(processor, IDocument.DEFAULT_CONTENT_TYPE);
SourceViewerConfiguration conf = (SourceViewerConfiguration) HookUtil.getPrivateAttributeValue(AbstractTextEditor.class, "fConfiguration", ed); //$NON-NLS-1$
ContentAssistPreference.configure(assistant, (IPreferenceStore) HookUtil.getPrivateAttributeValue(Class.forName("org.eclipse.jdt.ui.text.JavaSourceViewerConfiguration"),"fPreferenceStore", conf));
} catch (Exception ex) {