CloneSet484


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9520.974statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19270
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/AllocationExpression.java
29312
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ExplicitConstructorCall.java
39337
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/MessageSend.java
49285
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/QualifiedAllocationExpression.java
59135
plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetAllocationExpression.java
Clone Instance
1
Line Count
9
Source Line
270
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/AllocationExpression.java

                argumentTypes = new TypeBinding[length];
                for (int i = 0; i < length; i++) {
                        Expression argument = this.arguments[i];
                        if (argument instanceof CastExpression) {
                                argument.bits |= DisableUnnecessaryCastCheck; // will check later on
                                argsContainCast = true;
                        }
                        if ((argumentTypes[i] = argument.resolveType(scope)) == null) {
                                argHasError = true;
                        }
                }


Clone Instance
2
Line Count
9
Source Line
312
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ExplicitConstructorCall.java

                                argumentTypes = new TypeBinding[length];
                                for (int i = 0; i < length; i++) {
                                        Expression argument = this.arguments[i];
                                        if (argument instanceof CastExpression) {
                                                argument.bits |= DisableUnnecessaryCastCheck; // will check later on
                                                argsContainCast = true;
                                        }
                                        if ((argumentTypes[i] = argument.resolveType(scope)) == null) {
                                                argHasError = true;
                                        }
                                }


Clone Instance
3
Line Count
9
Source Line
337
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/MessageSend.java

                argumentTypes = new TypeBinding[length];
                for (int i = 0; i < length; i++) {
                        Expression argument = arguments[i];
                        if (argument instanceof CastExpression) {
                                argument.bits |= DisableUnnecessaryCastCheck; // will check later on
                                argsContainCast = true;
                        }
                        if ((argumentTypes[i] = argument.resolveType(scope)) == null) {
                                argHasError = true;
                        }
                }


Clone Instance
4
Line Count
9
Source Line
285
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/QualifiedAllocationExpression.java

                        argumentTypes = new TypeBinding[length];
                        for (int i = 0; i < length; i++) {
                                Expression argument = this.arguments[i];
                                if (argument instanceof CastExpression) {
                                        argument.bits |= DisableUnnecessaryCastCheck; // will check later on
                                        argsContainCast = true;
                                }
                                if ((argumentTypes[i] = argument.resolveType(scope)) == null) {
                                        hasError = true;
                                }
                        }


Clone Instance
5
Line Count
9
Source Line
135
Source File
plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetAllocationExpression.java

                argumentTypes = new TypeBinding[length];
                for (int i = 0; i < length; i++) {
                        Expression argument = this.arguments[i];
                        if (argument instanceof CastExpression) {
                                argument.bits |= DisableUnnecessaryCastCheck; // will check later on
                                argsContainCast = true;
                        }
                        if ((argumentTypes[i] = argument.resolveType(scope)) == null) {
                                argHasError = true;
                        }
                }


Clone AbstractionParameter Count: 2Parameter Bindings

argumentTypes = new TypeBinding[length];
for (int i = 0; i < length; i++) {
  Expression argument = [[#variablebeb587e0]][i];
  if (argument instanceof CastExpression) {
    argument.bits |= DisableUnnecessaryCastCheck; // will check later on
    argsContainCast = true;
  }
  if ((argumentTypes[i] = argument.resolveType(scope)) == null) {
     [[#variablebeb587c0]]= true;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#beb587e0]]
this.arguments 
12[[#beb587e0]]
arguments 
13[[#beb587e0]]
this.arguments 
14[[#beb587e0]]
this.arguments 
15[[#beb587e0]]
this.arguments 
21[[#beb587c0]]
argHasError 
22[[#beb587c0]]
argHasError 
23[[#beb587c0]]
hasError 
24[[#beb587c0]]
argHasError 
25[[#beb587c0]]
argHasError