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.979 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 105 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/VariableDeclarationFix.java |
2 | 5 | 115 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/VariableDeclarationFix.java |
| ||||
/** * {@inheritDoc} */ public boolean visit(FieldDeclaration node) { if (fAddFinalFields) return handleFragments(node.fragments(), node); return false; } |
| ||||
/** * {@inheritDoc} */ public boolean visit(VariableDeclarationStatement node) { if (fAddFinalLocals) return handleFragments(node.fragments(), node); return false; } |
| |||
/** * {@inheritDoc} */ public boolean visit( [[#variable58bf2500]] node) { if ( [[#variable58bf23e0]]) return handleFragments(node.fragments(), node); return false; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#58bf2500]] | FieldDeclaration |
1 | 2 | [[#58bf2500]] | VariableDeclarationStatement |
2 | 1 | [[#58bf23e0]] | fAddFinalFields |
2 | 2 | [[#58bf23e0]] | fAddFinalLocals |