CloneSet701


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.964method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17452
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/internal/RegEx.java
27466
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/internal/RegEx.java
Next
Last
Clone Instance
1
Line Count
7
Source Line
452
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/internal/RegEx.java

/**
 * Return a start position in the target text matched to specified regular expression group.
 *
 * @param index Less than <code>getNumberOfGroups()</code>.
 */
public int getBeginning(int index) {
  if (this.beginpos == null)
    throw new IllegalStateException("A result is not set.");
  if (index < 0 || this.nofgroups <= index)
    throw new IllegalArgumentException("The parameter must be less than " + this.nofgroups + ": " + index);
  return this.beginpos[index];
}


First
Previous
Clone Instance
2
Line Count
7
Source Line
466
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/internal/RegEx.java

/**
 * Return an end position in the target text matched to specified regular expression group.
 *
 * @param index Less than <code>getNumberOfGroups()</code>.
 */
public int getEnd(int index) {
  if (this.endpos == null)
    throw new IllegalStateException("A result is not set.");
  if (index < 0 || this.nofgroups <= index)
    throw new IllegalArgumentException("The parameter must be less than " + this.nofgroups + ": " + index);
  return this.endpos[index];
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Return an end position in the target text matched to specified regular expression group.
     *
     * @param index Less than <code>getNumberOfGroups()</code>.
     */
/**
     * Return a start position in the target text matched to specified regular expression group.
     *
     * @param index Less than <code>getNumberOfGroups()</code>.
     */
public int  [[#variable173bd380]](int index) {
  if (this. [[#variable173bd1a0]]== null)
    throw new IllegalStateException("A result is not set.");
  if (index < 0 || this.nofgroups <= index)
    throw new IllegalArgumentException("The parameter must be less than " + this.nofgroups + ": " + index);
  return this. [[#variable173bd1a0]][index];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#173bd380]]
getBeginning 
12[[#173bd380]]
getEnd 
21[[#173bd1a0]]
beginpos 
22[[#173bd1a0]]
endpos