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 | 38 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchLocatorParser.java |
2 | 2 | 47 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchLocatorParser.java |
| ||||
public boolean visit(ConstructorDeclaration constructorDeclaration, ClassScope scope) { return (constructorDeclaration.bits& ASTNode.HasLocalType) != 0; // continue only if it has local type } |
| ||||
public boolean visit(MethodDeclaration methodDeclaration, ClassScope scope) { return (methodDeclaration.bits& ASTNode.HasLocalType) != 0; // continue only if it has local type } |
| |||
public boolean visit( [[#variablebd0a24c0]] [[#variablebd0a2400]], ClassScope scope) { return ( [[#variablebd0a2400]].bits&ASTNode.HasLocalType) != 0; // continue only if it has local type } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#bd0a24c0]] | ConstructorDeclaration |
1 | 2 | [[#bd0a24c0]] | MethodDeclaration |
2 | 1 | [[#bd0a2400]] | constructorDeclaration |
2 | 2 | [[#bd0a2400]] | methodDeclaration |