| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 2 | 2 | 0.966 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 166 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeBinding.java |
| 2 | 6 | 352 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeBinding.java |
| ||||
/*
* @see ITypeBinding#getComponentType()
*/
public ITypeBinding getComponentType() {
if ( !this.isArray()) {
return null;
}
ArrayBinding arrayBinding = (ArrayBinding) binding;
return resolver.getTypeBinding(arrayBinding.elementsType());
}
|
| ||||
/*
* @see ITypeBinding#getElementType()
*/
public ITypeBinding getElementType() {
if ( !this.isArray()) {
return null;
}
ArrayBinding arrayBinding = (ArrayBinding) binding;
return resolver.getTypeBinding(arrayBinding.leafComponentType);
}
|
| |||
/*
* @see ITypeBinding#getComponentType()
*/
/*
* @see ITypeBinding#getElementType()
*/
public ITypeBinding [[#variable7c3a1c20]]() {
if ( !this.isArray()) {
return null;
}
ArrayBinding arrayBinding = (ArrayBinding) binding;
return resolver.getTypeBinding(arrayBinding [[#variable7c3a1bc0]]);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#7c3a1c20]] | getComponentType |
| 1 | 2 | [[#7c3a1c20]] | getElementType |
| 2 | 1 | [[#7c3a1bc0]] | .elementsType() |
| 2 | 2 | [[#7c3a1bc0]] | .leafComponentType |