Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 3 | 5 | 0.967 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 86 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/NewNameQueries.java |
2 | 4 | 93 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/NewNameQueries.java |
3 | 4 | 99 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/NewNameQueries.java |
| ||||
public INewNameQuery createNewResourceNameQuery(IResource res, String initialSuggestedName) { String[] keys = { res.getName() }; String message = Messages.format(ReorgMessages.ReorgQueries_enterNewNameQuestion, keys); return createStaticQuery(createResourceNameValidator(res), message, initialSuggestedName, getShell()); } |
| ||||
public INewNameQuery createNewPackageNameQuery(IPackageFragment pack, String initialSuggestedName) { String[] keys = { pack.getElementName() }; String message = Messages.format(ReorgMessages.ReorgQueries_enterNewNameQuestion, keys); return createStaticQuery(createPackageNameValidator(pack), message, initialSuggestedName, getShell()); } |
| ||||
public INewNameQuery createNewPackageFragmentRootNameQuery(IPackageFragmentRoot root, String initialSuggestedName) { String[] keys = { root.getElementName() }; String message = Messages.format(ReorgMessages.ReorgQueries_enterNewNameQuestion, keys); return createStaticQuery(createPackageFragmentRootNameValidator(root), message, initialSuggestedName, getShell()); } |
| |||
public INewNameQuery [[#variable9dcdcc40]]( [[#variable9dcdcbc0]] [[#variable9dcdcb20]], String initialSuggestedName) { String[] keys = { [[#variable9dcdcb20]]. [[#variable9dcdcaa0]]() }; String message = Messages.format(ReorgMessages.ReorgQueries_enterNewNameQuestion, keys); return createStaticQuery( [[#variable9dcdca00]]( [[#variable9dcdcb20]]), message, initialSuggestedName, getShell()); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9dcdcc40]] | createNewResourceNameQuery |
1 | 2 | [[#9dcdcc40]] | createNewPackageNameQuery |
1 | 3 | [[#9dcdcc40]] | createNewPackageFragmentRootNameQuery |
2 | 1 | [[#9dcdcbc0]] | IResource |
2 | 2 | [[#9dcdcbc0]] | IPackageFragment |
2 | 3 | [[#9dcdcbc0]] | IPackageFragmentRoot |
3 | 1 | [[#9dcdcb20]] | res |
3 | 2 | [[#9dcdcb20]] | pack |
3 | 3 | [[#9dcdcb20]] | root |
4 | 1 | [[#9dcdcaa0]] | getName |
4 | 2 | [[#9dcdcaa0]] | getElementName |
4 | 3 | [[#9dcdcaa0]] | getElementName |
5 | 1 | [[#9dcdca00]] | createResourceNameValidator |
5 | 2 | [[#9dcdca00]] | createPackageNameValidator |
5 | 3 | [[#9dcdca00]] | createPackageFragmentRootNameValidator |