/** * Returns the compilation unit the given element is contained in, * or the element itself (if it is a compilation unit), * otherwise <code>null</code>. */ protected ICompilationUnit getCompilationUnitFor(IJavaElement element) { return ((JavaElement)element).getCompilationUnit(); } /*
/** * Returns the compilation unit the given element is contained in, * or the element itself (if it is a compilation unit), * otherwise <code>null</code>. */ protected ICompilationUnit getCompilationUnitFor(IJavaElement element) { return ((JavaElement)element).getCompilationUnit(); } /*
/** * Returns the compilation unit the given element is contained in, * or the element itself (if it is a compilation unit), * otherwise <code>null</code>. */ protected ICompilationUnit getCompilationUnitFor(IJavaElement element) { return ((JavaElement)element).getCompilationUnit(); } /*
/** * Returns the compilation unit the given element is contained in, * or the element itself (if it is a compilation unit), * otherwise <code>null</code>. */ protected ICompilationUnit getCompilationUnitFor(IJavaElement element) { return ((JavaElement)element).getCompilationUnit(); } /*
/** * Returns the compilation unit the given element is contained in, * or the element itself (if it is a compilation unit), * otherwise <code>null</code>. */ protected ICompilationUnit getCompilationUnitFor(IJavaElement element) { return ((JavaElement)element).getCompilationUnit(); } /*
/** * Returns the compilation unit the given element is contained in, * or the element itself (if it is a compilation unit), * otherwise <code>null</code>. */ protected ICompilationUnit getCompilationUnitFor(IJavaElement element) { return ((JavaElement)element).getCompilationUnit(); } /*
ICompilationUnit unit= destination.getCompilationUnit(); if (!unit.isWorkingCopy()) { unit.close();
ICompilationUnit unit= destination.getCompilationUnit(); if (!unit.isWorkingCopy()) { unit.close();
ICompilationUnit unit= destination.getCompilationUnit(); if (!unit.isWorkingCopy()) { unit.close();
ICompilationUnit unit= destination.getCompilationUnit(); if (!unit.isWorkingCopy()) { unit.close();
ICompilationUnit unit= destination.getCompilationUnit(); if (!unit.isWorkingCopy()) { unit.close();
ICompilationUnit unit= destination.getCompilationUnit(); if (!unit.isWorkingCopy()) { unit.close();