Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.977 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 1315 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceIndirectionRefactoring.java |
2 | 4 | 1324 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceIndirectionRefactoring.java |
| ||||
if (element == null || !element.exists() || element.getElementType() != IJavaElement.METHOD) return createInputFatalStatus(element, ID_INTRODUCE_INDIRECTION); else fTargetMethod = (IMethod) element; |
| ||||
if (element == null || !element.exists() || element.getElementType() != IJavaElement.TYPE) return createInputFatalStatus(element, ID_INTRODUCE_INDIRECTION); else fIntermediaryClass = (IType) element; |
| |||
if (element == null || !element.exists() || element.getElementType() != IJavaElement. [[#variable9e76f280]]) return createInputFatalStatus(element, ID_INTRODUCE_INDIRECTION); else [[#variable9e76f200]]= ( [[#variable9e76f180]]) element; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9e76f280]] | METHOD |
1 | 2 | [[#9e76f280]] | TYPE |
2 | 1 | [[#9e76f200]] | fTargetMethod |
2 | 2 | [[#9e76f200]] | fIntermediaryClass |
3 | 1 | [[#9e76f180]] | IMethod |
3 | 2 | [[#9e76f180]] | IType |