CloneSet7313


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13230.950class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11367
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/rewrite/TargetSourceRangeComputer.java
2922
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SourceRange.java
Clone Instance
1
Line Count
13
Source Line
67
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/rewrite/TargetSourceRangeComputer.java

                /**
                 * Creates a new source range.
                 * 
                 * @param startPosition the 0-based character index, or <code>-1</code>
                 *    if no source position information is known
                 * @param length the (possibly 0) length, or <code>0</code>
                 *    if no source position information is known
                 */
                public SourceRange(int startPosition, int length) {
                        this.startPosition = startPosition;
                        this.length = length;
                }

                /**
                 * Returns the start position.
                 * 
                 * @return the 0-based character index, or <code>-1</code>
                 *    if no source position information is known
                 */
                public int getStartPosition() {
                        return this.startPosition;
                }


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

public SourceRange(int offset, int length) {
        this.offset = offset;
        this.length = length;
}

/**
 * @see ISourceRange
 */
public int getLength() {
        return this.length;
}


Clone AbstractionParameter Count: 3Parameter Bindings

/**
                 * Creates a new source range.
                 * 
                 * @param startPosition the 0-based character index, or <code>-1</code>
                 *    if no source position information is known
                 * @param length the (possibly 0) length, or <code>0</code>
                 *    if no source position information is known
                 */
public SourceRange(int  [[#variable57bf3d20]], int length) {
  this. [[#variable57bf3d20]]= [[#variable57bf3d20]];
  this.length = length;
}

/**
                 * Returns the start position.
                 * 
                 * @return the 0-based character index, or <code>-1</code>
                 *    if no source position information is known
                 */
/**
 * @see ISourceRange
 */
public int  [[#variable57bf3840]]() {
  return this. [[#variable57bf3dc0]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#57bf3d20]]
startPosition 
12[[#57bf3d20]]
offset 
21[[#57bf3840]]
getStartPosition 
22[[#57bf3840]]
getLength 
31[[#57bf3dc0]]
startPosition 
32[[#57bf3dc0]]
length