Button lookupTypeButton = new Button(composite, SWT.NONE);
lookupTypeButton.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
String returnType = method.getReturnType();
ToolType owningClass = (ToolType)method.getParent();
if (returnType != null && !returnType.isEmpty()){
ToolType cls = ToolClass.fetch(owningClass.getProject(), returnType);
if (cls == null){
ToolInterface inter = ToolInterface.fetch(owningClass.getProject(), returnType);
SelectType.select(owningClass, inter);
} else {
SelectType.select(owningClass, cls);