CloneSet3293


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.985statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17686
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/LookupEnvironment.java
27727
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/LookupEnvironment.java
Clone Instance
1
Line Count
7
Source Line
686
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/LookupEnvironment.java

                                int cachedArgLength = cachedArguments == null ? 0:  cachedArguments.length;
                                if (argLength != cachedArgLength) continue nextCachedMethod;
                                for (int j = 0; j < cachedArgLength; j++) {
                                        if (typeArguments[j] != cachedArguments[j]) continue nextCachedMethod;
                                }
                                // all arguments match, reuse current
                                return cachedMethod;


Clone Instance
2
Line Count
7
Source Line
727
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/LookupEnvironment.java

                                int cachedArgLength = cachedArguments == null ? 0:  cachedArguments.length;
                                if (argLength != cachedArgLength) continue nextCachedType; // would be an error situation (from unresolved binaries)
                                for (int j = 0; j < cachedArgLength; j++) {
                                        if (typeArguments[j] != cachedArguments[j]) continue nextCachedType;
                                }
                                // all arguments match, reuse current
                                return cachedType;


Clone AbstractionParameter Count: 2Parameter Bindings

int cachedArgLength = cachedArguments == null ? 0: cachedArguments.length;
if (argLength != cachedArgLength)
  continue [[#variableb1d5dde0]]; // would be an error situation (from unresolved binaries)
for (int j = 0; j < cachedArgLength; j++) {
  if (typeArguments[j] != cachedArguments[j])
    continue [[#variableb1d5dde0]];
}
// all arguments match, reuse current
return [[#variableb5304620]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b1d5dde0]]
nextCachedType 
12[[#b1d5dde0]]
nextCachedMethod 
21[[#b5304620]]
cachedType 
22[[#b5304620]]
cachedMethod