CloneSet834


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3830.967statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1574
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/generatedfile/ClasspathUtil.java
23950
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/TypeHierarchy.java
3379
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/launcher/JavaElementPropertyTester.java
43490
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/JavaLaunchableTester.java
53101
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResult.java
63477
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java
73491
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java
8370
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/GetterSetterCompletionProposal.java
Clone Instance
1
Line Count
5
Source Line
74
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/generatedfile/ClasspathUtil.java

                for (int i = 0; i < cp.length; i++)
                {
                        if (cp[i].getPath().equals( path))
                        {
                                return true;
                        }
                }


Clone Instance
2
Line Count
3
Source Line
950
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/TypeHierarchy.java

                                for (int i = 0; i < pkgs.length; i++) {
                                        if (pkgs[i].getParent().equals(element)) {
                                                return true;
                                        }
                                }


Clone Instance
3
Line Count
3
Source Line
79
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/launcher/JavaElementPropertyTester.java

                    for (int i = 0; i < stypes.length; i++) {
                        if (stypes[i].getFullyQualifiedName().equals(APPLET_TYPE)) {
                            return true;
                        } //end if
                    } //end for


Clone Instance
4
Line Count
3
Source Line
490
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/JavaLaunchableTester.java

                                for (int i = 0; i < itypes.length; i++) {
                                        if (itypes[i].getFullyQualifiedName().equals(qname)) {
                                                return true;
                                        }
                                }


Clone Instance
5
Line Count
3
Source Line
101
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResult.java

                for (int i = 0; i < fActivatedMatchFilters.length; i++) {
                        if (fActivatedMatchFilters[i].getID().equals(id)) {
                                return true;
                        }
                }


Clone Instance
6
Line Count
3
Source Line
477
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java

                for (int i = 0; i < fields.length; i++) {
                        if (fields[i].getName().equals(name)) {
                                return true;
                        }
                }


Clone Instance
7
Line Count
3
Source Line
491
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java

                for (int i = 0; i < methods.length; i++) {
                        if (methods[i].getName().equals(name)) {
                                return true;
                        }
                }


Clone Instance
8
Line Count
3
Source Line
70
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/GetterSetterCompletionProposal.java

                for (int i = 0; i < methods.length; i++) {
                        if (methods[i].getElementName().equals(name)) {
                                return true;
                        }
                }


Clone AbstractionParameter Count: 3Parameter Bindings

for (int i = 0; i <  [[#variablec124e2e0]].length; i++) {
  if ( [[#variablec124e2e0]][i]. [[#variablec1be0840]]().equals( [[#variablec1f88e20]])) {
    return true;
  } //end if
} //end for
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#c124e2e0]]
methods 
12[[#c124e2e0]]
fields 
13[[#c124e2e0]]
methods 
14[[#c124e2e0]]
fActivatedMatchFilters 
15[[#c124e2e0]]
itypes 
16[[#c124e2e0]]
stypes 
17[[#c124e2e0]]
pkgs 
18[[#c124e2e0]]
cp 
21[[#c1be0840]]
getElementName 
22[[#c1be0840]]
getName 
23[[#c1be0840]]
getName 
24[[#c1be0840]]
getID 
25[[#c1be0840]]
getFullyQualifiedName 
26[[#c1be0840]]
getFullyQualifiedName 
27[[#c1be0840]]
getParent 
28[[#c1be0840]]
getPath 
31[[#c1f88e20]]
name 
32[[#c1f88e20]]
name 
33[[#c1f88e20]]
name 
34[[#c1f88e20]]
id 
35[[#c1f88e20]]
qname 
36[[#c1f88e20]]
APPLET_TYPE 
37[[#c1f88e20]]
element 
38[[#c1f88e20]]
path