CloneSet3181


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6240.950class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16682
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ReferenceBinding.java
26698
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ReferenceBinding.java
Clone Instance
1
Line Count
6
Source Line
682
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ReferenceBinding.java

public ReferenceBinding getMemberType(char[] typeName) {
        ReferenceBinding[] memberTypes = memberTypes();
        for (int i = memberTypes.length; --i >= 0;)
                if (CharOperation.equals(memberTypes[i].sourceName, typeName))
                        return memberTypes[i];
        return null;
}


Clone Instance
2
Line Count
6
Source Line
698
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ReferenceBinding.java

public TypeVariableBinding getTypeVariable(char[] variableName) {
        TypeVariableBinding[] typeVariables = typeVariables();
        for (int i = typeVariables.length; --i >= 0;)
                if (CharOperation.equals(typeVariables[i].sourceName, variableName))
                        return typeVariables[i];
        return null;
}


Clone AbstractionParameter Count: 4Parameter Bindings

public [[#variableb3ae3020]]  [[#variableb3ae2c20]](char[]  [[#variableb3ae2ea0]]) {
   [[#variableb3ae3020]][]  [[#variableb3ae2f80]]= [[#variableb3ae2f80]]();
  for (int i = [[#variableb3ae2f80]].length; --i >= 0;)
    if (CharOperation.equals( [[#variableb3ae2f80]][i].sourceName,  [[#variableb3ae2ea0]]))
      return [[#variableb3ae2f80]][i];
  return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b3ae3020]]
ReferenceBinding 
12[[#b3ae3020]]
TypeVariableBinding 
21[[#b3ae2c20]]
getMemberType 
22[[#b3ae2c20]]
getTypeVariable 
31[[#b3ae2ea0]]
typeName 
32[[#b3ae2ea0]]
variableName 
41[[#b3ae2f80]]
memberTypes 
42[[#b3ae2f80]]
typeVariables