public SerialVersionHashProposal(final String label, final ICompilationUnit unit, final ASTNode node) { super(label, unit, node);  Assert.isNotNull(unit);  fCompilationUnit= unit;  final IPackageFragmentRoot root= (IPackageFragmentRoot) fCompilationUnit.getAncestor(IJavaElement.PACKAGE_FRAGMENT_ROOT); if (root != null) {  try {  final IClasspathEntry entry= root.getRawClasspathEntry(); if (entry != null && entry.getEntryKind() == IClasspathEntry.CPE_SOURCE) {  IPath path= entry.getOutputLocation(); if (path == null) path= fCompilationUnit.getJavaProject().getOutputLocation();  path= path.append(getClassFilePath());  final IFile file= ResourcesPlugin.getWorkspace().getRoot().getFile(path); if (file != null && file.exists()) fCodeGenerated= true; }  } catch (JavaModelException exception) {  } }
public SerialVersionHashProposal(final ICompilationUnit unit, final ASTNode node) { super(CorrectionMessages.getString("SerialVersionSubProcessor.createhashed.description"), unit, node);
	public SerialVersionHashProposal(final String label, final ICompilationUnit unit, final ASTNode node) {		super(label, unit, node);		Assert.isNotNull(unit);		fCompilationUnit= unit;		final IPackageFragmentRoot root= (IPackageFragmentRoot) fCompilationUnit.getAncestor(IJavaElement.PACKAGE_FRAGMENT_ROOT);		if (root != null) {			try {				final IClasspathEntry entry= root.getRawClasspathEntry();				if (entry != null && entry.getEntryKind() == IClasspathEntry.CPE_SOURCE) {					IPath path= entry.getOutputLocation();					if (path == null)						path= fCompilationUnit.getJavaProject().getOutputLocation();					path= path.append(getClassFilePath());					final IFile file= ResourcesPlugin.getWorkspace().getRoot().getFile(path);					if (file != null && file.exists())						fCodeGenerated= true;				}			} catch (JavaModelException exception) {				// Do nothing			}		}	}