Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 4 | 0.950 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 682 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ReferenceBinding.java |
2 | 6 | 698 | 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; } |
| ||||
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; } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b3ae3020]] | ReferenceBinding |
1 | 2 | [[#b3ae3020]] | TypeVariableBinding |
2 | 1 | [[#b3ae2c20]] | getMemberType |
2 | 2 | [[#b3ae2c20]] | getTypeVariable |
3 | 1 | [[#b3ae2ea0]] | typeName |
3 | 2 | [[#b3ae2ea0]] | variableName |
4 | 1 | [[#b3ae2f80]] | memberTypes |
4 | 2 | [[#b3ae2f80]] | typeVariables |