Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.995 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 102 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java |
2 | 5 | 109 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java |
| ||||
private static AddSourceFolderWizard newSourceFolderWizard(CPListElement element, List /*<CPListElement>*/ existingElements, String outputLocation, boolean newFolder) { CPListElement[] existing = (CPListElement[]) existingElements.toArray(new CPListElement[existingElements.size()]); AddSourceFolderWizard wizard = new AddSourceFolderWizard(existing, element, new Path(outputLocation).makeAbsolute(), false, newFolder, newFolder, newFolder ? CPListElement.isProjectSourceFolder(existing, element.getJavaProject()): false, newFolder); wizard.setDoFlushChange(false); return wizard; } |
| ||||
private static AddSourceFolderWizard newLinkedSourceFolderWizard(CPListElement element, List /*<CPListElement>*/ existingElements, String outputLocation, boolean newFolder) { CPListElement[] existing = (CPListElement[]) existingElements.toArray(new CPListElement[existingElements.size()]); AddSourceFolderWizard wizard = new AddSourceFolderWizard(existing, element, new Path(outputLocation).makeAbsolute(), true, newFolder, newFolder, newFolder ? CPListElement.isProjectSourceFolder(existing, element.getJavaProject()): false, newFolder); wizard.setDoFlushChange(false); return wizard; } |
| |||
private static AddSourceFolderWizard [[#variable9d9eac00]](CPListElement element, List /*<CPListElement>*/ existingElements, String outputLocation, boolean newFolder) { CPListElement[] existing = (CPListElement[]) existingElements.toArray(new CPListElement[existingElements.size()]); AddSourceFolderWizard wizard = new AddSourceFolderWizard(existing, element, new Path(outputLocation).makeAbsolute(), [[#variable9d9eab20]], newFolder, newFolder, newFolder ? CPListElement.isProjectSourceFolder(existing, element.getJavaProject()): false, newFolder); wizard.setDoFlushChange(false); return wizard; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9d9eac00]] | newSourceFolderWizard |
1 | 2 | [[#9d9eac00]] | newLinkedSourceFolderWizard |
2 | 1 | [[#9d9eab20]] | false |
2 | 2 | [[#9d9eab20]] | true |