if (dot != -1)
pname = pname.substring(dot + 1);
String eventTypeSig = Signature.createTypeSignature(pname, false);
IFileEditorInput file = (IFileEditorInput) editor.getEditorInput();
ICompilationUnit unit = JavaCore.createCompilationUnitFrom(file
.getFile());
String name = file.getName();
dot = name.lastIndexOf('.');
if (dot != -1)
name = name.substring(0, dot);
IType type = unit.getType(name);
IMember member = type.getMethod(methodDesc.getName(),