CloneSet7328


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5230.970statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15971
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/generatedfile/GeneratedFileManager.java
24997
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/generatedfile/GeneratedFileManager.java
Clone Instance
1
Line Count
5
Source Line
971
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/generatedfile/GeneratedFileManager.java

                        // update _derivedFile2Parents map
                        Set<IFile> parents = _generatedFile2ParentFiles.get(generatedFile);

                        // assertions
                        if (parents == null)
                                throw new RuntimeException(" parents is null and it shouldn\'t be"); //$NON-NLS-1$


Clone Instance
2
Line Count
4
Source Line
997
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/generatedfile/GeneratedFileManager.java

                        Set<IFile> parents = _generatedWorkingCopy2OpenParentFiles.get( workingCopy);

                        // TODO:  change these to assertions
                        if ( parents == null)  throw new RuntimeException( "parents == null and it shouldnt"); //$NON-NLS-1$


Clone AbstractionParameter Count: 3Parameter Bindings

// update _derivedFile2Parents map
Set<IFile> parents = [[#variable57da1360]].get( [[#variable57ead240]]);
// assertions
// TODO:  change these to assertions
if (parents == null)
  throw new RuntimeException( [[#variable57ead1e0]]); //$NON-NLS-1$
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#57da1360]]
_generatedFile2ParentFiles 
12[[#57da1360]]
_generatedWorkingCopy2OpenParentFiles 
21[[#57ead240]]
generatedFile 
22[[#57ead240]]
workingCopy 
31[[#57ead1e0]]
" parents is null and it shouldn\'t be" 
32[[#57ead1e0]]
"parents == null and it shouldnt"