Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 4 | 3 | 0.957 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 58 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchLocatorParser.java |
2 | 3 | 62 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchLocatorParser.java |
3 | 3 | 66 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchLocatorParser.java |
4 | 3 | 74 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchLocatorParser.java |
| ||||
public boolean visit(ConstructorDeclaration constructorDeclaration, ClassScope scope) { patternLocator.match(constructorDeclaration, nodeSet); return (constructorDeclaration.bits& ASTNode.HasLocalType) != 0; // continue only if it has local type } |
| ||||
public boolean visit(FieldDeclaration fieldDeclaration, MethodScope scope) { patternLocator.match(fieldDeclaration, nodeSet); return (fieldDeclaration.bits& ASTNode.HasLocalType) != 0; // continue only if it has local type; } |
| ||||
public boolean visit(Initializer initializer, MethodScope scope) { patternLocator.match(initializer, nodeSet); return (initializer.bits& ASTNode.HasLocalType) != 0; // continue only if it has local type } |
| ||||
public boolean visit(MethodDeclaration methodDeclaration, ClassScope scope) { patternLocator.match(methodDeclaration, nodeSet); return (methodDeclaration.bits& ASTNode.HasLocalType) != 0; // continue only if it has local type } |
| |||
public boolean visit( [[#variableb6b0a8e0]] [[#variableb6b0a840]], [[#variableb6b0a7c0]] scope) { patternLocator.match( [[#variableb6b0a840]], nodeSet); return ( [[#variableb6b0a840]].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 | [[#b6b0a8e0]] | ConstructorDeclaration |
1 | 2 | [[#b6b0a8e0]] | FieldDeclaration |
1 | 3 | [[#b6b0a8e0]] | Initializer |
1 | 4 | [[#b6b0a8e0]] | MethodDeclaration |
2 | 1 | [[#b6b0a840]] | constructorDeclaration |
2 | 2 | [[#b6b0a840]] | fieldDeclaration |
2 | 3 | [[#b6b0a840]] | initializer |
2 | 4 | [[#b6b0a840]] | methodDeclaration |
3 | 1 | [[#b6b0a7c0]] | ClassScope |
3 | 2 | [[#b6b0a7c0]] | MethodScope |
3 | 3 | [[#b6b0a7c0]] | MethodScope |
3 | 4 | [[#b6b0a7c0]] | ClassScope |