CloneSet5446


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5210.977statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15133
plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetEvaluator.java
27150
plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/VariablesEvaluator.java
Clone Instance
1
Line Count
5
Source Line
133
Source File
plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetEvaluator.java

                // Initialize the compiler's lookup environment with the already compiled super classes
                IBinaryType binary = this.context.getRootCodeSnippetBinary();
                if (binary != null) {
                        compiler.lookupEnvironment.cacheBinaryType(binary, null
                                                                                /*no access restriction*/
                                                                               );
                }
                VariablesInfo installedVars = this.context.installedVars;


Clone Instance
2
Line Count
7
Source Line
150
Source File
plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/VariablesEvaluator.java

        // Initialize the compiler's lookup environment with the already compiled super class
        IBinaryType binaryType = this.context.getRootCodeSnippetBinary();
        if (binaryType != null) {
                compiler.lookupEnvironment.cacheBinaryType(binaryType, null
                                                                            /*no access restriction*/
                                                                           );
        }
        // and the installed global variable classes
        VariablesInfo installedVars = this.context.installedVars;


Clone AbstractionParameter Count: 1Parameter Bindings

// Initialize the compiler's lookup environment with the already compiled super classes
// Initialize the compiler's lookup environment with the already compiled super class
IBinaryType  [[#variablea0b53140]]= this.context.getRootCodeSnippetBinary();
if ( [[#variablea0b53140]]!= null) {
  compiler.lookupEnvironment.cacheBinaryType( [[#variablea0b53140]], null
                                                                         /*no access restriction*/
                                                                         );
}
// and the installed global variable classes
VariablesInfo installedVars = this.context.installedVars;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a0b53140]]
binary 
12[[#a0b53140]]
binaryType