CloneSet467


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14420.970statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
114147
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/ConstructorPattern.java
214193
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/ConstructorPattern.java
314168
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodPattern.java
414228
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodPattern.java
Clone Instance
1
Line Count
14
Source Line
147
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/ConstructorPattern.java

        // store type signatures and arguments for method parameters type
        if (parameterSignatures != null) {
                int length = parameterSignatures.length;
                if (length > 0) {
                        parametersTypeSignatures = new char[length][][];
                        parametersTypeArguments = new char[length][][][];
                        for (int i = 0; i < length; i++) {
                                parametersTypeSignatures[i] = Util.splitTypeLevelsSignature(parameterSignatures[i]);
                                parametersTypeArguments[i] = Util.getAllTypeArguments(parametersTypeSignatures[i]);
                        }
                }
        }

        // Store type signatures and arguments for method
        constructorArguments = extractMethodArguments(method);


Clone Instance
2
Line Count
14
Source Line
193
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/ConstructorPattern.java

        // Store type signatures and arguments for method parameters type
        if (parameterSignatures != null) {
                int length = parameterSignatures.length;
                if (length > 0) {
                        parametersTypeSignatures = new char[length][][];
                        parametersTypeArguments = new char[length][][][];
                        for (int i = 0; i < length; i++) {
                                parametersTypeSignatures[i] = Util.splitTypeLevelsSignature(parameterSignatures[i]);
                                parametersTypeArguments[i] = Util.getAllTypeArguments(parametersTypeSignatures[i]);
                        }
                }
        }

        // Store type signatures and arguments for method
        constructorArguments = arguments;


Clone Instance
3
Line Count
14
Source Line
168
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodPattern.java

        // Store type signatures and arguments for method parameters type
        if (parameterSignatures != null) {
                int length = parameterSignatures.length;
                if (length > 0) {
                        parametersTypeSignatures = new char[length][][];
                        parametersTypeArguments = new char[length][][][];
                        for (int i = 0; i < length; i++) {
                                parametersTypeSignatures[i] = Util.splitTypeLevelsSignature(parameterSignatures[i]);
                                parametersTypeArguments[i] = Util.getAllTypeArguments(parametersTypeSignatures[i]);
                        }
                }
        }

        // Store type signatures and arguments for method
        methodArguments = extractMethodArguments(method);


Clone Instance
4
Line Count
14
Source Line
228
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodPattern.java

        // Store type signatures and arguments for method parameters type
        if (parameterSignatures != null) {
                int length = parameterSignatures.length;
                if (length > 0) {
                        parametersTypeSignatures = new char[length][][];
                        parametersTypeArguments = new char[length][][][];
                        for (int i = 0; i < length; i++) {
                                parametersTypeSignatures[i] = Util.splitTypeLevelsSignature(parameterSignatures[i]);
                                parametersTypeArguments[i] = Util.getAllTypeArguments(parametersTypeSignatures[i]);
                        }
                }
        }

        // Store type signatures and arguments for method
        methodArguments = arguments;


Clone AbstractionParameter Count: 2Parameter Bindings

// Store type signatures and arguments for method parameters type
// store type signatures and arguments for method parameters type
if (parameterSignatures != null) {
  int length = parameterSignatures.length;
  if (length > 0) {
    parametersTypeSignatures = new char[length][][];
    parametersTypeArguments = new char[length][][][];
    for (int i = 0; i < length; i++) {
      parametersTypeSignatures[i] = Util.splitTypeLevelsSignature(parameterSignatures[i]);
      parametersTypeArguments[i] = Util.getAllTypeArguments(parametersTypeSignatures[i]);
    }
  }
}
 [[#variable58426ee0]]= [[#variableb803aba0]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#58426ee0]]
// Store type signatures and arguments for method
constructorArguments 
12[[#58426ee0]]
// Store type signatures and arguments for method
constructorArguments 
13[[#58426ee0]]
// Store type signatures and arguments for method
methodArguments 
14[[#58426ee0]]
// Store type signatures and arguments for method
methodArguments 
21[[#b803aba0]]
arguments 
22[[#b803aba0]]
extractMethodArguments(method) 
23[[#b803aba0]]
arguments 
24[[#b803aba0]]
extractMethodArguments(method)