CloneSet2532


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12240.977statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1122544
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java
2113626
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java
Clone Instance
1
Line Count
12
Source Line
2544
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java

        int sourceStart = statement.sourceStart;
        int sourceEnd = statement.sourceEnd;
        if (statement instanceof AllocationExpression) {
                AllocationExpression allocation = (AllocationExpression) statement;
                if (allocation.enumConstant != null) {
                        sourceStart = allocation.enumConstant.sourceStart;
                        sourceEnd = allocation.enumConstant.sourceEnd;
                }
        }

        int id = IProblem.UndefinedConstructor; //default...
    MethodBinding shownConstructor = targetConstructor;


Clone Instance
2
Line Count
11
Source Line
3626
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java

        int sourceStart = statement.sourceStart;
        int sourceEnd = statement.sourceEnd;
        if (statement instanceof AllocationExpression) {
                AllocationExpression allocation = (AllocationExpression) statement;
                if (allocation.enumConstant != null) {
                        sourceStart = allocation.enumConstant.sourceStart;
                        sourceEnd = allocation.enumConstant.sourceEnd;
                }
        }
        int id = IProblem.JavadocUndefinedConstructor; //default...
        ProblemMethodBinding problemConstructor = null;


Clone AbstractionParameter Count: 4Parameter Bindings

int sourceStart = statement.sourceStart;
int sourceEnd = statement.sourceEnd;
if (statement instanceof AllocationExpression) {
  AllocationExpression allocation = (AllocationExpression) statement;
  if (allocation.enumConstant != null) {
    sourceStart = allocation.enumConstant.sourceStart;
    sourceEnd = allocation.enumConstant.sourceEnd;
  }
}
int id = IProblem. [[#variableb2f550c0]]; //default...
 [[#variableb2fe86a0]]  [[#variableb2f54fe0]]= [[#variableb62452e0]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b2f550c0]]
UndefinedConstructor 
12[[#b2f550c0]]
JavadocUndefinedConstructor 
21[[#b2fe86a0]]
MethodBinding 
22[[#b2fe86a0]]
ProblemMethodBinding 
31[[#b2f54fe0]]
shownConstructor 
32[[#b2f54fe0]]
problemConstructor 
41[[#b62452e0]]
targetConstructor 
42[[#b62452e0]]
null