CloneSet1332


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
27201.000statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
127487
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/LocalEvaluationEngine.java
227568
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/LocalEvaluationEngine.java
Clone Instance
1
Line Count
27
Source Line
487
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/LocalEvaluationEngine.java

                                validateReceivingType(receivingType);

                                // do the evaluation in a different thread
                                Runnable r = new Runnable() {
                                        public void run() {
                                                try {
                                                        LocalEvaluationEngine.this.getEvaluationContext().
                                                                evaluateCodeSnippet(
                                                                LocalEvaluationEngine.this.getSnippet(), 
                                                                LocalEvaluationEngine.this.getLocalVariableTypeNames(), 
                                                                LocalEvaluationEngine.this.getLocalVariableNames(), 
                                                                LocalEvaluationEngine.this.getLocalVariableModifiers(), 
                                                                receivingType, 
                                                                isStatic, 
                                                                isConstructor, 
                                                                LocalEvaluationEngine.this, 
                                                                null               );
                                                } catch (JavaModelException e) {
                                                        LocalEvaluationEngine.this.getResult().setException(new DebugException(e.getStatus()));
                                                  }
                                                LocalEvaluationEngine.this.evaluationComplete();
                                        }
                                             };

                                Thread t = new Thread(r);
                                t.setDaemon(true);
                                t.start();


Clone Instance
2
Line Count
27
Source Line
568
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/LocalEvaluationEngine.java

                                validateReceivingType(receivingType);

                                // do the evaluation in a different thread
                                Runnable r = new Runnable() {
                                        public void run() {
                                                try {
                                                        LocalEvaluationEngine.this.getEvaluationContext().
                                                                evaluateCodeSnippet(
                                                                LocalEvaluationEngine.this.getSnippet(), 
                                                                LocalEvaluationEngine.this.getLocalVariableTypeNames(), 
                                                                LocalEvaluationEngine.this.getLocalVariableNames(), 
                                                                LocalEvaluationEngine.this.getLocalVariableModifiers(), 
                                                                receivingType, 
                                                                isStatic, 
                                                                isConstructor, 
                                                                LocalEvaluationEngine.this, 
                                                                null               );
                                                } catch (JavaModelException e) {
                                                        LocalEvaluationEngine.this.getResult().setException(new DebugException(e.getStatus()));
                                                  }
                                                LocalEvaluationEngine.this.evaluationComplete();
                                        }
                                             };

                                Thread t = new Thread(r);
                                t.setDaemon(true);
                                t.start();


Clone AbstractionParameter Count: 0Parameter Bindings

validateReceivingType(receivingType);
// do the evaluation in a different thread
Runnable r = new Runnable() {
               public void run() {
                 try {
                   LocalEvaluationEngine.this.getEvaluationContext().evaluateCodeSnippet(LocalEvaluationEngine.this.getSnippet(), LocalEvaluationEngine.this.getLocalVariableTypeNames(), LocalEvaluationEngine.this.getLocalVariableNames(), LocalEvaluationEngine.this.getLocalVariableModifiers(), receivingType, isStatic, isConstructor, LocalEvaluationEngine.this, null);
                 }
                 catch (JavaModelException e) {
                   LocalEvaluationEngine.this.getResult().setException(new DebugException(e.getStatus()));
                 }
                 LocalEvaluationEngine.this.evaluationComplete();
               }
             };
Thread t = new Thread(r);
t.setDaemon(true);
t.start();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None