Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 0 | 1.000 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 416 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CleanUpRefactoring.java |
2 | 10 | 272 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/CorrectionMarkerResolutionGenerator.java |
| ||||
private void findFilesToBeModified(CompositeChange change, List result) throws JavaModelException { Change[] children = change.getChildren(); for (int i = 0; i < children.length; i++) { Change child = children[i]; if (child instanceof CompositeChange) { findFilesToBeModified((CompositeChange) child, result); } else if (child instanceof MultiStateCompilationUnitChange) { result.add(((MultiStateCompilationUnitChange) child).getCompilationUnit().getCorrespondingResource()); } else if (child instanceof CompilationUnitChange) { result.add(((CompilationUnitChange) child).getCompilationUnit().getCorrespondingResource()); } } } |
| ||||
private void findFilesToBeModified(CompositeChange change, List result) throws JavaModelException { Change[] children = change.getChildren(); for (int i = 0; i < children.length; i++) { Change child = children[i]; if (child instanceof CompositeChange) { findFilesToBeModified((CompositeChange) child, result); } else if (child instanceof MultiStateCompilationUnitChange) { result.add(((MultiStateCompilationUnitChange) child).getCompilationUnit().getCorrespondingResource()); } else if (child instanceof CompilationUnitChange) { result.add(((CompilationUnitChange) child).getCompilationUnit().getCorrespondingResource()); } } } |
| |||
private void findFilesToBeModified(CompositeChange change, List result) throws JavaModelException { Change[] children = change.getChildren(); for (int i = 0; i < children.length; i++) { Change child = children[i]; if (child instanceof CompositeChange) { findFilesToBeModified((CompositeChange) child, result); } else if (child instanceof MultiStateCompilationUnitChange) { result.add(((MultiStateCompilationUnitChange) child).getCompilationUnit().getCorrespondingResource()); } else if (child instanceof CompilationUnitChange) { result.add(((CompilationUnitChange) child).getCompilationUnit().getCorrespondingResource()); } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |