Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 2 | 0.963 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 41 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchLocatorParser.java |
2 | 2 | 44 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchLocatorParser.java |
| ||||
public boolean visit(FieldDeclaration fieldDeclaration, MethodScope scope) { return (fieldDeclaration.bits& ASTNode.HasLocalType) != 0; // continue only if it has local type; } |
| ||||
public boolean visit(Initializer initializer, MethodScope scope) { return (initializer.bits& ASTNode.HasLocalType) != 0; // continue only if it has local type } |
| |||
public boolean visit( [[#variablebd0a14e0]] [[#variablebd0a1480]], MethodScope scope) { return ( [[#variablebd0a1480]].bits&ASTNode.HasLocalType) != 0; // continue only if it has local type; // continue only if it has local type } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#bd0a14e0]] | FieldDeclaration |
1 | 2 | [[#bd0a14e0]] | Initializer |
2 | 1 | [[#bd0a1480]] | fieldDeclaration |
2 | 2 | [[#bd0a1480]] | initializer |