String message; if (hasLogEntry) message= JavaEditorMessages.OverrideIndicatorManager_open_error_messageHasLogEntry; else message= JavaEditorMessages.OverrideIndicatorManager_open_error_message;
String message= JavaEditorMessages.OverrideIndicatorManager_open_error_message;
		public void open() {			boolean hasLogEntry= false;			CompilationUnit ast= JavaPlugin.getDefault().getASTProvider().getAST(fJavaElement, ASTProvider.WAIT_ACTIVE_ONLY, null);			if (ast != null) {				ASTNode node= ast.findDeclaringNode(fAstNodeKey);				if (node instanceof MethodDeclaration) {					try {						IMethodBinding methodBinding= ((MethodDeclaration)node).resolveBinding();						IMethodBinding definingMethodBinding= Bindings.findOverriddenMethod(methodBinding, true);						if (definingMethodBinding != null) {							IJavaElement definingMethod= definingMethodBinding.getJavaElement();							if (definingMethod != null) {								OpenActionUtil.open(definingMethod, true);								return;							}						}					} catch (JavaModelException ex) {						JavaPlugin.log(ex.getStatus());						hasLogEntry= true;					} catch (PartInitException ex) {						JavaPlugin.log(ex.getStatus());						hasLogEntry= true;					}				}			}			String title= JavaEditorMessages.OverrideIndicatorManager_open_error_title;			String message;			if (hasLogEntry)				message= JavaEditorMessages.OverrideIndicatorManager_open_error_messageHasLogEntry;			else				message= JavaEditorMessages.OverrideIndicatorManager_open_error_message;			MessageDialog.openError(JavaPlugin.getActiveWorkbenchShell(), title, message);		}