CloneSet1165


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3730.965statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13184
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ScopeAnalyzer.java
23240
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ScopeAnalyzer.java
3363
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/AbstractTypeVariable.java
43251
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/util/StatementAnalyzer.java
52354
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/CopyToClipboardAction.java
62357
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/CopyToClipboardAction.java
72184
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java
Clone Instance
1
Line Count
3
Source Line
184
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ScopeAnalyzer.java

                        for (int i = 0; i < variableBindings.length; i++) {
                                if (requestor.acceptBinding(variableBindings[i]))
                                        return true;
                        }


Clone Instance
2
Line Count
3
Source Line
240
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ScopeAnalyzer.java

                        for (int i = 0; i < typeParameters.length; i++) {
                                if (requestor.acceptBinding(typeParameters[i]))
                                        return true;
                        }


Clone Instance
3
Line Count
3
Source Line
63
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/AbstractTypeVariable.java

                for (int i = 0; i < fBounds.length; i++) {
                        if (rhs.canAssignTo(fBounds[i]))
                                return true;
                }


Clone Instance
4
Line Count
3
Source Line
251
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/util/StatementAnalyzer.java

                for (int i = 0; i < nodes.length; i++) {
                        if (list.contains(nodes[i]))
                                return true;
                }


Clone Instance
5
Line Count
2
Source Line
354
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/CopyToClipboardAction.java

                        for (int i = 0; i < fResources.length; i++) {
                                if (ReorgUtils.isProject(fResources[i])) return true;
                        }


Clone Instance
6
Line Count
2
Source Line
357
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/CopyToClipboardAction.java

                        for (int i = 0; i < fJavaElements.length; i++) {
                                if (ReorgUtils.isProject(fJavaElements[i])) return true;
                        }


Clone Instance
7
Line Count
2
Source Line
184
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java

                for (int i = 0; i < availableDataTypes.length; i++) {
                        if (transfer.isSupportedType(availableDataTypes[i])) return true;
                }


Clone AbstractionParameter Count: 3Parameter Bindings

for (int i = 0; i <  [[#variable909534c0]].length; i++) {
  if ( [[#variable90953420]]. [[#variable90953320]]( [[#variable909534c0]][i]))
    return true;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#909534c0]]
typeParameters 
12[[#909534c0]]
variableBindings 
13[[#909534c0]]
fBounds 
14[[#909534c0]]
nodes 
15[[#909534c0]]
fJavaElements 
16[[#909534c0]]
fResources 
17[[#909534c0]]
availableDataTypes 
21[[#90953420]]
requestor 
22[[#90953420]]
requestor 
23[[#90953420]]
rhs 
24[[#90953420]]
list 
25[[#90953420]]
ReorgUtils 
26[[#90953420]]
ReorgUtils 
27[[#90953420]]
transfer 
31[[#90953320]]
acceptBinding 
32[[#90953320]]
acceptBinding 
33[[#90953320]]
canAssignTo 
34[[#90953320]]
contains 
35[[#90953320]]
isProject 
36[[#90953320]]
isProject 
37[[#90953320]]
isSupportedType