CloneSet2626


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3430.957class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1358
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchLocatorParser.java
2362
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchLocatorParser.java
3366
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchLocatorParser.java
4374
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchLocatorParser.java
Clone Instance
1
Line Count
3
Source Line
58
Source File
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
        }


Clone Instance
2
Line Count
3
Source Line
62
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchLocatorParser.java

        public boolean visit(FieldDeclaration fieldDeclaration, MethodScope scope) {
                patternLocator.match(fieldDeclaration, nodeSet);
                return (fieldDeclaration.bits&  ASTNode.HasLocalType) != 0; // continue only if it has local type;
        }


Clone Instance
3
Line Count
3
Source Line
66
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchLocatorParser.java

        public boolean visit(Initializer initializer, MethodScope scope) {
                patternLocator.match(initializer, nodeSet);
                return (initializer.bits&  ASTNode.HasLocalType) != 0; // continue only if it has local type
        }


Clone Instance
4
Line Count
3
Source Line
74
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchLocatorParser.java

        public boolean visit(MethodDeclaration methodDeclaration, ClassScope scope) {
                patternLocator.match(methodDeclaration, nodeSet);
                return (methodDeclaration.bits&  ASTNode.HasLocalType) != 0; // continue only if it has local type
        }


Clone AbstractionParameter Count: 3Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b6b0a8e0]]
ConstructorDeclaration 
12[[#b6b0a8e0]]
FieldDeclaration 
13[[#b6b0a8e0]]
Initializer 
14[[#b6b0a8e0]]
MethodDeclaration 
21[[#b6b0a840]]
constructorDeclaration 
22[[#b6b0a840]]
fieldDeclaration 
23[[#b6b0a840]]
initializer 
24[[#b6b0a840]]
methodDeclaration 
31[[#b6b0a7c0]]
ClassScope 
32[[#b6b0a7c0]]
MethodScope 
33[[#b6b0a7c0]]
MethodScope 
34[[#b6b0a7c0]]
ClassScope