CloneSet344


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
29210.999statement_sequence[11]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
129277
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java
229760
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java
Clone Instance
1
Line Count
29
Source Line
277
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java

        char[][] argumentTypes = null;
        char[][] argumentNames = null;
        int[] argumentTypeStarts = null;
        int[] argumentTypeEnds = null;
        int[] argumentNameStarts = null;
        int[] argumentNameEnds = null;
        if (arguments != null) {
                int argumentLength = arguments.length;
                argumentTypes = new char[argumentLength][];
                argumentNames = new char[argumentLength][];
                argumentNameStarts = new int[argumentLength];
                argumentNameEnds = new int[argumentLength];
                argumentTypeStarts = new int[argumentLength];
                argumentTypeEnds = new int[argumentLength];
                for (int i = 0; i < argumentLength; i++) {
                        Argument argument = arguments[i];
                        TypeReference argumentType = argument.type;
                        argumentTypes[i] = returnTypeName(argumentType);
                        argumentNames[i] = argument.name;
                        argumentNameStarts[i] = argument.sourceStart;
                        argumentNameEnds[i] = argument.sourceEnd;
                        argumentTypeStarts[i] = argumentType.sourceStart;
                        argumentTypeEnds[i] = argumentType.sourceEnd;
                }
        }
        TypeReference[] thrownExceptions = cd.thrownExceptions;
        char[][] exceptionTypes = null;
        int[] exceptionTypeStarts = null;
        int[] exceptionTypeEnds = null;


Clone Instance
2
Line Count
29
Source Line
760
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java

        char[][] argumentTypes = null;
        char[][] argumentNames = null;
        int[] argumentTypeStarts = null;
        int[] argumentTypeEnds = null;
        int[] argumentNameStarts = null;
        int[] argumentNameEnds = null;
        if (arguments != null) {
                int argumentLength = arguments.length;
                argumentTypes = new char[argumentLength][];
                argumentNames = new char[argumentLength][];
                argumentNameStarts = new int[argumentLength];
                argumentNameEnds = new int[argumentLength];
                argumentTypeStarts = new int[argumentLength];
                argumentTypeEnds = new int[argumentLength];
                for (int i = 0; i < argumentLength; i++) {
                        Argument argument = arguments[i];
                        TypeReference argumentType = argument.type;
                        argumentTypes[i] = returnTypeName(argumentType);
                        argumentNames[i] = argument.name;
                        argumentNameStarts[i] = argument.sourceStart;
                        argumentNameEnds[i] = argument.sourceEnd;
                        argumentTypeStarts[i] = argumentType.sourceStart;
                        argumentTypeEnds[i] = argumentType.sourceEnd;
                }
        }
        TypeReference[] thrownExceptions = md.thrownExceptions;
        char[][] exceptionTypes = null;
        int[] exceptionTypeStarts = null;
        int[] exceptionTypeEnds = null;


Clone AbstractionParameter Count: 1Parameter Bindings

char[][] argumentTypes = null;
char[][] argumentNames = null;
int[] argumentTypeStarts = null;
int[] argumentTypeEnds = null;
int[] argumentNameStarts = null;
int[] argumentNameEnds = null;
if (arguments != null) {
  int argumentLength = arguments.length;
  argumentTypes = new char[argumentLength][];
  argumentNames = new char[argumentLength][];
  argumentNameStarts = new int[argumentLength];
  argumentNameEnds = new int[argumentLength];
  argumentTypeStarts = new int[argumentLength];
  argumentTypeEnds = new int[argumentLength];
  for (int i = 0; i < argumentLength; i++) {
    Argument argument = arguments[i];
    TypeReference argumentType = argument.type;
    argumentTypes[i] = returnTypeName(argumentType);
    argumentNames[i] = argument.name;
    argumentNameStarts[i] = argument.sourceStart;
    argumentNameEnds[i] = argument.sourceEnd;
    argumentTypeStarts[i] = argumentType.sourceStart;
    argumentTypeEnds[i] = argumentType.sourceEnd;
  }
}
TypeReference[] thrownExceptions = [[#variable6212f9e0]].thrownExceptions;
char[][] exceptionTypes = null;
int[] exceptionTypeStarts = null;
int[] exceptionTypeEnds = null;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6212f9e0]]
cd 
12[[#6212f9e0]]
md