CloneSet755


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
20210.992statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1201458
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java
2201483
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java
Clone Instance
1
Line Count
20
Source Line
1458
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java

                        org.eclipse.jdt.internal.compiler.ast.Expression[] arguments = statement.arguments;
                        if (arguments != null) {
                                int length = arguments.length;
                                for (int i = 0; i < length; i++) {
                                        superConstructorInvocation.arguments().add(convert(arguments[i]));
                                }
                        }
                        if (statement.typeArguments != null) {
                                if (sourceStart > statement.typeArgumentsSourceStart) {
                                        sourceStart = statement.typeArgumentsSourceStart;
                                }
                                switch (this.ast.apiLevel) {
                                        case AST.JLS2_INTERNAL:
                                                superConstructorInvocation.setFlags(superConstructorInvocation.getFlags()|  ASTNode.MALFORMED);
                                                break;
                                        case AST.JLS3:
                                                for (int i = 0, max = statement.typeArguments.length; i < max; i++) {
                                                        superConstructorInvocation.typeArguments().add(convertType(statement.typeArguments[i]));
                                                }
                                                break;
                                      }
                        }


Clone Instance
2
Line Count
20
Source Line
1483
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java

                        org.eclipse.jdt.internal.compiler.ast.Expression[] arguments = statement.arguments;
                        if (arguments != null) {
                                int length = arguments.length;
                                for (int i = 0; i < length; i++) {
                                        constructorInvocation.arguments().add(convert(arguments[i]));
                                }
                        }
                        if (statement.typeArguments != null) {
                                if (sourceStart > statement.typeArgumentsSourceStart) {
                                        sourceStart = statement.typeArgumentsSourceStart;
                                }
                                switch (this.ast.apiLevel) {
                                        case AST.JLS2_INTERNAL:
                                                constructorInvocation.setFlags(constructorInvocation.getFlags()|  ASTNode.MALFORMED);
                                                break;
                                        case AST.JLS3:
                                                for (int i = 0, max = statement.typeArguments.length; i < max; i++) {
                                                        constructorInvocation.typeArguments().add(convertType(statement.typeArguments[i]));
                                                }
                                        break;
                                      }
                        }


Clone AbstractionParameter Count: 1Parameter Bindings

org.eclipse.jdt.internal.compiler.ast.Expression[] arguments = statement.arguments;
if (arguments != null) {
  int length = arguments.length;
  for (int i = 0; i < length; i++) {
     [[#variableb269bae0]].arguments().add(convert(arguments[i]));
  }
}
if (statement.typeArguments != null) {
  if (sourceStart > statement.typeArgumentsSourceStart) {
    sourceStart = statement.typeArgumentsSourceStart;
  }
  switch (this.ast.apiLevel) {
    case AST.JLS2_INTERNAL:
       [[#variableb269bae0]].setFlags( [[#variableb269bae0]].getFlags()|ASTNode.MALFORMED);
      break;
    case AST.JLS3:
      for (int i = 0, max = statement.typeArguments.length; i < max; i++) {
         [[#variableb269bae0]].typeArguments().add(convertType(statement.typeArguments[i]));
      }
      break;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b269bae0]]
superConstructorInvocation 
12[[#b269bae0]]
constructorInvocation