Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 3 | 1 | 0.989 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 2991 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java |
2 | 9 | 3010 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java |
3 | 9 | 3025 | 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); } } |
| ||||
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); } } |
| ||||
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); } } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b9d7ef40]] | firstBound |
1 | 2 | [[#b9d7ef40]] | itsInterface |
1 | 3 | [[#b9d7ef40]] | itsSuperclass |