CloneSet4994


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.979statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15830
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchLocator.java
25845
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchLocator.java
Clone Instance
1
Line Count
5
Source Line
830
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchLocator.java

        // Try to get binding from cache
        Binding binding = (Binding) this.bindings.get(typeKey);
        if (binding != null) {
                if (binding instanceof TypeBinding && binding.isValidBinding())
                        return (TypeBinding) binding;
                return null;
        }


Clone Instance
2
Line Count
5
Source Line
845
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchLocator.java

        // Try to get binding from cache
        Binding binding = (Binding) this.bindings.get(methodPattern);
        if (binding != null) {
                if (binding instanceof MethodBinding && binding.isValidBinding())
                        return (MethodBinding) binding;
                return null;
        }


Clone AbstractionParameter Count: 2Parameter Bindings

// Try to get binding from cache
Binding binding = (Binding) this.bindings.get( [[#variable550c6b40]]);
if (binding != null) {
  if (binding instanceof [[#variable550c6b00]]&& binding.isValidBinding())
    return ( [[#variable550c6b00]]) binding;
  return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#550c6b40]]
typeKey 
12[[#550c6b40]]
methodPattern 
21[[#550c6b00]]
TypeBinding 
22[[#550c6b00]]
MethodBinding