String message= JavaEditorMessages.getString("OverrideIndicatorManager.open.error.message");
String message; if (hasLogEntry) message= JavaEditorMessages.getString("OverrideIndicatorManager.open.error.messageHasLogEntry"); else message= JavaEditorMessages.getString("OverrideIndicatorManager.open.error.message");
		public void open() {			CompilationUnit ast= JavaPlugin.getDefault().getASTProvider().getAST(fJavaElement, true, null);			ASTNode node= null;			if (ast != null)				node= ast.findDeclaringNode(fAstNodeKey);			if (node instanceof MethodDeclaration) {				try {					IMethodBinding methodBinding= ((MethodDeclaration)node).resolveBinding();					IType type= getType(methodBinding);										if (type != null) {											ITypeHierarchy th= SuperTypeHierarchyCache.getTypeHierarchy(type);						IType[] superTypes= th.getAllSupertypes(type);												IMethodBinding definingMethodBinding= Bindings.findMethodDefininition(methodBinding);						IType definingType= null;						if (definingMethodBinding != null)							definingType= findType(superTypes, definingMethodBinding.getDeclaringClass().getQualifiedName());												if (definingType != null) {							IMethod definingMethod= Bindings.findMethod(definingMethodBinding, definingType);							if (definingMethod != null) {								OpenActionUtil.open(definingMethod, true);								return;							}						}					}				} catch (JavaModelException ex) {					JavaPlugin.log(ex.getStatus());				} catch (PartInitException ex) {					JavaPlugin.log(ex.getStatus());				}			}			String title= JavaEditorMessages.getString("OverrideIndicatorManager.open.error.title"); //$NON-NLS-1$			String message= JavaEditorMessages.getString("OverrideIndicatorManager.open.error.message"); //$NON-NLS-1$			MessageDialog.openError(JavaPlugin.getActiveWorkbenchShell(), title, message);		}