CloneSet550


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8740.950statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1873
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/ConstraintVariableFactory.java
28132
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/ConstraintVariableFactory.java
38146
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/ConstraintVariableFactory.java
48161
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/ConstraintVariableFactory.java
58192
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/ConstraintVariableFactory.java
68214
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/ConstraintVariableFactory.java
78231
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/ConstraintVariableFactory.java
Clone Instance
1
Line Count
8
Source Line
73
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/ConstraintVariableFactory.java

                        if ( ! fLiteralMap.containsKey(nodeType)) {
                                fLiteralMap.put(nodeType, new ExpressionVariable(expression));
                                if (REPORT) nrCreated++;
                        }
                        else   {
                                if (REPORT) nrRetrieved++;
                        }
                        if (REPORT) dumpConstraintStats();
                        return (ExpressionVariable) fLiteralMap.get(nodeType);


Clone Instance
2
Line Count
8
Source Line
132
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/ConstraintVariableFactory.java

                if ( ! fDeclaringTypeVariableMap.containsKey(key)) {
                        fDeclaringTypeVariableMap.put(key, new DeclaringTypeVariable(memberTypeBinding));
                        if (REPORT) nrCreated++;
                }
                else   {
                        if (REPORT) nrRetrieved++;
                }
                if (REPORT) dumpConstraintStats();
                return (DeclaringTypeVariable) fDeclaringTypeVariableMap.get(key);


Clone Instance
3
Line Count
8
Source Line
146
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/ConstraintVariableFactory.java

                if ( ! fDeclaringTypeVariableMap.containsKey(key)) {
                        fDeclaringTypeVariableMap.put(key, new DeclaringTypeVariable(fieldBinding));
                        if (REPORT) nrCreated++;
                }
                else   {
                        if (REPORT) nrRetrieved++;
                }
                if (REPORT) dumpConstraintStats();
                return (DeclaringTypeVariable) fDeclaringTypeVariableMap.get(key);


Clone Instance
4
Line Count
8
Source Line
161
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/ConstraintVariableFactory.java

                if ( ! fDeclaringTypeVariableMap.containsKey(key)) {
                        fDeclaringTypeVariableMap.put(key, new DeclaringTypeVariable(methodBinding));
                        if (REPORT) nrCreated++;
                }
                else   {
                        if (REPORT) nrRetrieved++;
                }
                if (REPORT) dumpConstraintStats();
                return (DeclaringTypeVariable) fDeclaringTypeVariableMap.get(key);


Clone Instance
5
Line Count
8
Source Line
192
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/ConstraintVariableFactory.java

                if ( ! fRawBindingMap.containsKey(key)) {
                        fRawBindingMap.put(key, new RawBindingVariable(binding));
                        if (REPORT) nrCreated++;
                }
                else   {
                        if (REPORT) nrRetrieved++;
                }
                if (REPORT) dumpConstraintStats();
                return (RawBindingVariable) fRawBindingMap.get(key);


Clone Instance
6
Line Count
8
Source Line
214
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/ConstraintVariableFactory.java

                if ( !fReturnVariableMap.containsKey(key)) {
                        fReturnVariableMap.put(key, new ReturnTypeVariable(methodBinding));
                        if (REPORT) nrCreated++;
                }
                else   {
                        if (REPORT) nrRetrieved++;
                }
                if (REPORT) dumpConstraintStats();
                return (ReturnTypeVariable) fReturnVariableMap.get(key);


Clone Instance
7
Line Count
8
Source Line
231
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/ConstraintVariableFactory.java

                if ( ! fTypeVariableMap.containsKey(range)) {
                        fTypeVariableMap.put(range, new TypeVariable(type));
                        if (REPORT) nrCreated++;
                }
                else   {
                        if (REPORT) nrRetrieved++;
                }
                if (REPORT) dumpConstraintStats();
                return (TypeVariable) fTypeVariableMap.get(range);


Clone AbstractionParameter Count: 4Parameter Bindings

if ( ! [[#variable942de9c0]].containsKey( [[#variable97209020]])) {
   [[#variable942de9c0]].put( [[#variable97209020]], new [[#variable9ced40c0]]( [[#variable9429f100]]));
  if (REPORT)
    nrCreated++;
}
else {
  if (REPORT)
    nrRetrieved++;
}
if (REPORT)
  dumpConstraintStats();
return ( [[#variable9ced40c0]])  [[#variable942de9c0]].get( [[#variable97209020]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#942de9c0]]
fLiteralMap 
12[[#942de9c0]]
fDeclaringTypeVariableMap 
13[[#942de9c0]]
fDeclaringTypeVariableMap 
14[[#942de9c0]]
fDeclaringTypeVariableMap 
15[[#942de9c0]]
fRawBindingMap 
16[[#942de9c0]]
fReturnVariableMap 
17[[#942de9c0]]
fTypeVariableMap 
21[[#97209020]]
nodeType 
22[[#97209020]]
key 
23[[#97209020]]
key 
24[[#97209020]]
key 
25[[#97209020]]
key 
26[[#97209020]]
key 
27[[#97209020]]
range 
31[[#9ced40c0]]
ExpressionVariable 
32[[#9ced40c0]]
DeclaringTypeVariable 
33[[#9ced40c0]]
DeclaringTypeVariable 
34[[#9ced40c0]]
DeclaringTypeVariable 
35[[#9ced40c0]]
RawBindingVariable 
36[[#9ced40c0]]
ReturnTypeVariable 
37[[#9ced40c0]]
TypeVariable 
41[[#9429f100]]
expression 
42[[#9429f100]]
memberTypeBinding 
43[[#9429f100]]
fieldBinding 
44[[#9429f100]]
methodBinding 
45[[#9429f100]]
binding 
46[[#9429f100]]
methodBinding 
47[[#9429f100]]
type