CloneSet4032


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8220.964statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18184
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ExplicitConstructorCall.java
28168
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/QualifiedAllocationExpression.java
Clone Instance
1
Line Count
8
Source Line
184
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ExplicitConstructorCall.java

                // perform some emulation work in case there is some and we are inside a local type only
                if (superTypeErasure.isNestedType() &&
                           currentScope.enclosingSourceType().isLocalType()) {

                        if (superTypeErasure.isLocalType()) {
                                ((LocalTypeBinding) superTypeErasure).addInnerEmulationDependent(currentScope, qualification != null);
                        }
                        else   {
                                // locally propagate, since we already now the desired shape for sure
                                currentScope.propagateInnerEmulation(superTypeErasure, qualification != null);
                        }
                }


Clone Instance
2
Line Count
8
Source Line
168
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/QualifiedAllocationExpression.java

                // perform some extra emulation work in case there is some and we are inside a local type only
                if (allocatedTypeErasure.isNestedType() &&
                           currentScope.enclosingSourceType().isLocalType()) {

                        if (allocatedTypeErasure.isLocalType()) {
                                ((LocalTypeBinding) allocatedTypeErasure).addInnerEmulationDependent(currentScope, enclosingInstance != null);
                        }
                        else   {
                                // locally propagate, since we already now the desired shape for sure
                                currentScope.propagateInnerEmulation(allocatedTypeErasure, enclosingInstance != null);
                        }
                }


Clone AbstractionParameter Count: 2Parameter Bindings

// perform some emulation work in case there is some and we are inside a local type only
// perform some extra emulation work in case there is some and we are inside a local type only
if ( [[#variable946131e0]].isNestedType() && currentScope.enclosingSourceType().isLocalType()) {
  if ( [[#variable946131e0]].isLocalType()) {
    ((LocalTypeBinding)  [[#variable946131e0]]).addInnerEmulationDependent(currentScope,  [[#variable94613120]]!= null);
  }
  else {
    // locally propagate, since we already now the desired shape for sure
    currentScope.propagateInnerEmulation( [[#variable946131e0]],  [[#variable94613120]]!= null);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#946131e0]]
superTypeErasure 
12[[#946131e0]]
allocatedTypeErasure 
21[[#94613120]]
qualification 
22[[#94613120]]
enclosingInstance