CloneSet679


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9310.989statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
192991
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java
293010
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java
393025
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java
Clone Instance
1
Line Count
9
Source Line
2991
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java

                                        TypeBinding superType = dim == 0 ? firstBound:  (TypeBinding) environment().createArrayType(firstBound, dim); // recreate array if needed
                                        if ( !typesToVisit.contains(superType)) {
                                                typesToVisit.add(superType);
                                                max++;
                                                TypeBinding superTypeErasure = (firstBound.isTypeVariable() || firstBound.isWildcard()
                                                                                                                                       /*&& !itsInterface.isCapture()*/
                                                                                                                                      ) ?                                  superType:  superType.erasure();
                                                if (superTypeErasure != superType) {
                                                        Set someInvocations = new HashSet(1);
                                                        someInvocations.add(superType);
                                                        allInvocations.put(superTypeErasure, someInvocations);
                                                }
                                        }


Clone Instance
2
Line Count
9
Source Line
3010
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java

                                        TypeBinding superType = dim == 0 ? itsInterface:  (TypeBinding) environment().createArrayType(itsInterface, dim); // recreate array if needed
                                        if ( !typesToVisit.contains(superType)) {
                                                typesToVisit.add(superType);
                                                max++;
                                                TypeBinding superTypeErasure = (itsInterface.isTypeVariable() || itsInterface.isWildcard()
                                                                                                                                           /*&& !itsInterface.isCapture()*/
                                                                                                                                          ) ?                                  superType:  superType.erasure();
                                                if (superTypeErasure != superType) {
                                                        Set someInvocations = new HashSet(1);
                                                        someInvocations.add(superType);
                                                        allInvocations.put(superTypeErasure, someInvocations);
                                                }
                                        }


Clone Instance
3
Line Count
9
Source Line
3025
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java

                                TypeBinding superType = dim == 0 ? itsSuperclass:  (TypeBinding) environment().createArrayType(itsSuperclass, dim); // recreate array if needed
                                if ( !typesToVisit.contains(superType)) {
                                        typesToVisit.add(superType);
                                        max++;
                                        TypeBinding superTypeErasure = (itsSuperclass.isTypeVariable() || itsSuperclass.isWildcard()
                                                                                                                                     /*&& !itsSuperclass.isCapture()*/
                                                                                                                                    ) ?                                   superType:  superType.erasure();
                                        if (superTypeErasure != superType) {
                                                Set someInvocations = new HashSet(1);
                                                someInvocations.add(superType);
                                                allInvocations.put(superTypeErasure, someInvocations);
                                        }
                                }


Clone AbstractionParameter Count: 1Parameter Bindings

TypeBinding superType = dim == 0 ? [[#variableb9d7ef40]]: (TypeBinding) environment().createArrayType( [[#variableb9d7ef40]], dim); // recreate array if needed
if ( !typesToVisit.contains(superType)) {
  typesToVisit.add(superType);
  max++;
  TypeBinding superTypeErasure = ( [[#variableb9d7ef40]].isTypeVariable() || [[#variableb9d7ef40]].isWildcard()
                                                                                                               /*&& !itsInterface.isCapture()*/
                                                                                                               /*&& !itsSuperclass.isCapture()*/
                                                                                                               ) ? superType: superType.erasure();
  if (superTypeErasure != superType) {
    Set someInvocations = new HashSet(1);
    someInvocations.add(superType);
    allInvocations.put(superTypeErasure, someInvocations);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b9d7ef40]]
firstBound 
12[[#b9d7ef40]]
itsInterface 
13[[#b9d7ef40]]
itsSuperclass