Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.968 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 71 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ModifierChangeCompletionProposal.java |
2 | 5 | 77 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ModifierChangeCompletionProposal.java |
| ||||
{ FieldDeclaration fieldDecl = (FieldDeclaration) parent; if (fieldDecl.fragments().size() > 1 && (fieldDecl.getParent() instanceof AbstractTypeDeclaration)) { // split VariableDeclarationRewrite.rewriteModifiers(fieldDecl, new VariableDeclarationFragment[] { fragment }, fIncludedModifiers, fExcludedModifiers, rewrite, selectionDescription); return rewrite; } } |
| ||||
{ VariableDeclarationStatement varDecl = (VariableDeclarationStatement) parent; if (varDecl.fragments().size() > 1 && (varDecl.getParent() instanceof Block)) { // split VariableDeclarationRewrite.rewriteModifiers(varDecl, new VariableDeclarationFragment[] { fragment }, fIncludedModifiers, fExcludedModifiers, rewrite, selectionDescription); return rewrite; } } |
| |||
{ [[#variable60da5080]] [[#variable60da4fe0]]= ( [[#variable60da5080]]) parent; if ( [[#variable60da4fe0]].fragments().size() > 1 && ( [[#variable60da4fe0]].getParent() instanceof [[#variable60da4f80]])) { // split VariableDeclarationRewrite.rewriteModifiers( [[#variable60da4fe0]], new VariableDeclarationFragment[] { fragment }, fIncludedModifiers, fExcludedModifiers, rewrite, selectionDescription); return rewrite; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#60da5080]] | FieldDeclaration |
1 | 2 | [[#60da5080]] | VariableDeclarationStatement |
2 | 1 | [[#60da4fe0]] | fieldDecl |
2 | 2 | [[#60da4fe0]] | varDecl |
3 | 1 | [[#60da4f80]] | AbstractTypeDeclaration |
3 | 2 | [[#60da4f80]] | Block |