CloneSet529


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11410.971statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111250
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/AllocationExpression.java
211292
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ExplicitConstructorCall.java
311319
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/MessageSend.java
411217
plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetMessageSend.java
Clone Instance
1
Line Count
11
Source Line
250
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/AllocationExpression.java

        // will check for null after args are resolved

        // resolve type arguments (for generic constructor call)
        if (this.typeArguments != null) {
                int length = this.typeArguments.length;
                boolean argHasError = false; // typeChecks all arguments
                this.genericTypeArguments = new TypeBinding[length];
                for (int i = 0; i < length; i++) {
                        if ((this.genericTypeArguments[i] = this.typeArguments[i].resolveType(scope, true
                                                                                                          /* check bounds*/
                                                                                                         )) ==                   null) {
                                argHasError = true;
                        }
                }
                if (argHasError) {
                        return null;
                }
        }


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

                        // resolve type arguments (for generic constructor call)
                        if (this.typeArguments != null) {
                                int length = this.typeArguments.length;
                                boolean argHasError = false; // typeChecks all arguments
                                this.genericTypeArguments = new TypeBinding[length];
                                for (int i = 0; i < length; i++) {
                                        if ((this.genericTypeArguments[i] = this.typeArguments[i].resolveType(scope, true
                                                                                                                          /* check bounds*/
                                                                                                                         )) ==                   null) {
                                                argHasError = true;
                                        }
                                }
                                if (argHasError) {
                                        return;
                                }
                        }


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

        // resolve type arguments (for generic constructor call)
        if (this.typeArguments != null) {
                int length = this.typeArguments.length;
                boolean argHasError = false; // typeChecks all arguments
                this.genericTypeArguments = new TypeBinding[length];
                for (int i = 0; i < length; i++) {
                        if ((this.genericTypeArguments[i] = this.typeArguments[i].resolveType(scope, true
                                                                                                          /* check bounds*/
                                                                                                         )) ==                   null) {
                                argHasError = true;
                        }
                }
                if (argHasError) {
                        return null;
                }
        }


Clone Instance
4
Line Count
11
Source Line
217
Source File
plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetMessageSend.java

        // resolve type arguments (for generic constructor call)
        if (this.typeArguments != null) {
                int length = this.typeArguments.length;
                boolean argHasError = false; // typeChecks all arguments
                this.genericTypeArguments = new TypeBinding[length];
                for (int i = 0; i < length; i++) {
                        if ((this.genericTypeArguments[i] = this.typeArguments[i].resolveType(scope, true
                                                                                                          /* check bounds*/
                                                                                                         )) ==                   null) {
                                argHasError = true;
                        }
                }
                if (argHasError) {
                        return null;
                }
        }


Clone AbstractionParameter Count: 1Parameter Bindings

// will check for null after args are resolved
// resolve type arguments (for generic constructor call)
if (this.typeArguments != null) {
  int length = this.typeArguments.length;
  boolean argHasError = false; // typeChecks all arguments
  this.genericTypeArguments = new TypeBinding[length];
  for (int i = 0; i < length; i++) {
    if ((this.genericTypeArguments[i] = this.typeArguments[i].resolveType(scope, true
                                                                                     /* check bounds*/
                                                                                     )) == null) {
      argHasError = true;
    }
  }
  if (argHasError) {
     [[#variablec1158940]]
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#c1158940]]
return null; 
12[[#c1158940]]
return; 
13[[#c1158940]]
return null; 
14[[#c1158940]]
return null;