Home
last modified time | relevance | path

Searched refs:newCUName (Results 1 – 7 of 7) sorted by relevance

/dports/java/phpeclipse/plugins/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/
H A DCopyResourceElementsOperation.java283 String newCUName = getNewNameFor(source); in processCompilationUnitResource() local
284 String destName = (newCUName != null) ? newCUName : source in processCompilationUnitResource()
286 String newContent = updatedContent(source, dest, newCUName); // null in processCompilationUnitResource()
354 if (newCUName != null) { in processCompilationUnitResource()
358 String newName = newCUName; in processCompilationUnitResource()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/
H A DCopyResourceElementsOperation.java309 String newCUName = getNewNameFor(source); in processCompilationUnitResource() local
310 String destName = (newCUName != null) ? newCUName : source.getElementName(); in processCompilationUnitResource()
311 TextEdit edit = updateContent(source, dest, newCUName); // null if unchanged in processCompilationUnitResource()
378 if (newCUName != null) { in processCompilationUnitResource()
381 String newName = Util.getNameWithoutJavaLikeExtension(newCUName); in processCompilationUnitResource()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/
H A DRenameTypeTests.java106 …perWithTextual(String oldCuName, String oldName, String newName, String newCUName, boolean updateR… in helperWithTextual() argument
123 ICompilationUnit newcu= pack.getCompilationUnit(newCUName + ".java"); in helperWithTextual()
125 …assertEqualLines("invalid renaming", getFileContents(getOutputTestFileName(newCUName)), newcu.getS… in helperWithTextual()
131 checkMappers(refactoring, classA, newCUName + ".java", classAMembers); in helperWithTextual()
136 …private String[] helper2_0(String oldName, String newName, String newCUName, boolean updateReferen… in helper2_0() argument
137 return helperWithTextual(oldName, oldName, newName, newCUName, updateReferences, false); in helper2_0()
1842 …private void checkMappers(Refactoring refactoring, IType type, String newCUName, IJavaElement[] so… in checkMappers() argument
1847 assertEquals(newUnit.getElementName(), newCUName); in checkMappers() local
1851 assertEquals(newFile.getName(), newCUName); in checkMappers() local
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/
H A DReorgCorrectionsSubProcessor.java168 String newCUName= JavaModelUtil.getRenamedCUName(cu, currTypeName); in getWrongTypeNameProposals() local
169 ICompilationUnit newCU= ((IPackageFragment) (cu.getParent())).getCompilationUnit(newCUName); in getWrongTypeNameProposals()
170 …if (!newCU.exists() && !isLinked && !JavaConventions.validateCompilationUnitName(newCUName, source… in getWrongTypeNameProposals()
171 RenameCompilationUnitChange change= new RenameCompilationUnitChange(cu, newCUName); in getWrongTypeNameProposals()
174 ….ReorgCorrectionsSubProcessor_renamecu_description, BasicElementLabels.getResourceName(newCUName)); in getWrongTypeNameProposals()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/refactoring/
H A DChecks.java221 String newCUName= JavaModelUtil.getRenamedCUName(cu, newBareName); in checkCompilationUnitNewName() local
222 IPath renamedResourcePath= cu.getParent().getPath().append(newCUName); in checkCompilationUnitNewName()
224 …ormat(RefactoringCoreMessages.Checks_cu_name_used, BasicElementLabels.getResourceName(newCUName))); in checkCompilationUnitNewName()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/
H A DRenameTypeProcessor.java254 String newCUName= getNewCompilationUnit().getElementName(); in computeRenameModifications() local
255 result.rename(cu, new RenameArguments(newCUName, getUpdateReferences())); in computeRenameModifications()
514 String newCUName= JavaModelUtil.getRenamedCUName(cu, getNewElementName()); in doCheckFinalConditions() local
515 if (! newCUName.equals(cu.getElementName())) in doCheckFinalConditions()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/refactoring/structure/
H A DMoveInnerToTopRefactoring.java722 …String newCUName= JavaModelUtil.getRenamedCUName(fType.getCompilationUnit(), fType.getElementName(… in checkFinalConditions() local
723 if (fType.getPackageFragment().getCompilationUnit(newCUName).exists()) { in checkFinalConditions()
724 …pilation_Unit_exists, new String[] { BasicElementLabels.getResourceName(newCUName), JavaElementLab… in checkFinalConditions()
728 result.merge(Checks.checkCompilationUnitName(newCUName, fType)); in checkFinalConditions()