CloneSet4752


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9210.986class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1982
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/BinaryMember.java
2996
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/BinaryMember.java
Clone Instance
1
Line Count
9
Source Line
82
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/BinaryMember.java

/*
 * @see ISourceReference
 */
public ISourceRange getNameRange() throws JavaModelException {
        SourceMapper mapper = getSourceMapper();
        if (mapper != null) {
                // ensure the class file's buffer is open so that source ranges are computed
                ((ClassFile) getClassFile()).getBuffer();

                return mapper.getNameRange(this );
        }
        else   {
                return SourceMapper.UNKNOWN_RANGE;
        }
}


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

/*
 * @see ISourceReference
 */
public ISourceRange getSourceRange() throws JavaModelException {
        SourceMapper mapper = getSourceMapper();
        if (mapper != null) {
                // ensure the class file's buffer is open so that source ranges are computed
                ((ClassFile) getClassFile()).getBuffer();

                return mapper.getSourceRange(this );
        }
        else   {
                return SourceMapper.UNKNOWN_RANGE;
        }
}


Clone AbstractionParameter Count: 1Parameter Bindings

/*
 * @see ISourceReference
 */
public ISourceRange  [[#variablea4df0820]]() throws JavaModelException {
  SourceMapper mapper = getSourceMapper();
  if (mapper != null) {
    // ensure the class file's buffer is open so that source ranges are computed
    ((ClassFile) getClassFile()).getBuffer();
    return mapper. [[#variablea4df0820]](this );
  }
  else {
    return SourceMapper.UNKNOWN_RANGE;
  }
}
 

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