CloneSet4788


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.993statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1779
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/TypeParameter.java
2796
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/TypeParameter.java
Clone Instance
1
Line Count
7
Source Line
79
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/TypeParameter.java

                SourceMapper mapper = getSourceMapper();
                if (mapper != null) {
                        // ensure the class file's buffer is open so that source ranges are computed
                        ClassFile classFile = (ClassFile) getClassFile();
                        if (classFile != null) {
                                classFile.getBuffer();
                                return mapper.getNameRange(this );
                        }
                }


Clone Instance
2
Line Count
7
Source Line
96
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/TypeParameter.java

                SourceMapper mapper = getSourceMapper();
                if (mapper != null) {
                        // ensure the class file's buffer is open so that source ranges are computed
                        ClassFile classFile = (ClassFile) getClassFile();
                        if (classFile != null) {
                                classFile.getBuffer();
                                return mapper.getSourceRange(this );
                        }
                }


Clone AbstractionParameter Count: 1Parameter Bindings

SourceMapper mapper = getSourceMapper();
if (mapper != null) {
  // ensure the class file's buffer is open so that source ranges are computed
  ClassFile classFile = (ClassFile) getClassFile();
  if (classFile != null) {
    classFile.getBuffer();
    return mapper. [[#variable7734cc40]](this );
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#7734cc40]]
getNameRange 
12[[#7734cc40]]
getSourceRange