CloneSet6079


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6220.966class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16166
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeBinding.java
26352
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeBinding.java
Clone Instance
1
Line Count
6
Source Line
166
Source File
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());
        }


Clone Instance
2
Line Count
6
Source Line
352
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeBinding.java

        /*
         * @see ITypeBinding#getElementType()
         */
        public ITypeBinding getElementType() {
                if ( !this.isArray()) {
                        return null;
                }
                ArrayBinding arrayBinding = (ArrayBinding) binding;
                return resolver.getTypeBinding(arrayBinding.leafComponentType);
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/*
         * @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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#7c3a1c20]]
getComponentType 
12[[#7c3a1c20]]
getElementType 
21[[#7c3a1bc0]]
.elementsType() 
22[[#7c3a1bc0]]
.leafComponentType