Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.978 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 1219 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java |
2 | 6 | 1227 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java |
| ||||
private boolean insertExpressionAsParameter(ClassInstanceCreation cic, ASTRewrite rewrite, ICompilationUnit cu, TextEditGroup group) throws JavaModelException { final Expression expression = createEnclosingInstanceCreationString(cic, cu); if (expression == null) return false; rewrite.getListRewrite(cic, ClassInstanceCreation.ARGUMENTS_PROPERTY).insertFirst(expression, group); return true; } |
| ||||
private boolean insertExpressionAsParameter(SuperConstructorInvocation sci, ASTRewrite rewrite, ICompilationUnit cu, TextEditGroup group) throws JavaModelException { final Expression expression = createEnclosingInstanceCreationString(sci, cu); if (expression == null) return false; rewrite.getListRewrite(sci, SuperConstructorInvocation.ARGUMENTS_PROPERTY).insertFirst(expression, group); return true; } |
| |||
private boolean insertExpressionAsParameter( [[#variablebaceff80]] [[#variablebacefea0]], ASTRewrite rewrite, ICompilationUnit cu, TextEditGroup group) throws JavaModelException { final Expression expression = createEnclosingInstanceCreationString( [[#variablebacefea0]], cu); if (expression == null) return false; rewrite.getListRewrite( [[#variablebacefea0]], [[#variablebaceff80]].ARGUMENTS_PROPERTY).insertFirst(expression, group); return true; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#baceff80]] | ClassInstanceCreation |
1 | 2 | [[#baceff80]] | SuperConstructorInvocation |
2 | 1 | [[#bacefea0]] | cic |
2 | 2 | [[#bacefea0]] | sci |