Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
23 | 6 | 3 | 0.965 | compilation_unit |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 23 | 11 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PushBoolean.java |
2 | 25 | 11 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PushChar.java |
3 | 25 | 11 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PushDouble.java |
4 | 25 | 11 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PushFloat.java |
5 | 25 | 11 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PushInt.java |
6 | 25 | 11 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PushLong.java |
| ||||
/******************************************************************************* * Copyright (c) 2000, 2005 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ package org.eclipse.jdt.internal.debug.eval.ast.instructions; /** * Pushes a boolean literal onto the stack. */ public class PushBoolean extends SimpleInstruction { private boolean fValue; public PushBoolean(boolean value) { fValue = value; } public void execute() { pushNewValue(fValue); } public String toString() { return InstructionsEvaluationMessages.PushBoolean_push__1 + fValue; } } |
| ||||
/******************************************************************************* * Copyright (c) 2000, 2005 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ package org.eclipse.jdt.internal.debug.eval.ast.instructions; /** * Pushes a char literal onto the stack. */ public class PushChar extends SimpleInstruction { private char fValue; public PushChar(char value) { fValue = value; } public void execute() { pushNewValue(fValue); } public String toString() { return InstructionsEvaluationMessages.PushChar_push__1 + fValue; } } |
| ||||
/******************************************************************************* * Copyright (c) 2000, 2005 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ package org.eclipse.jdt.internal.debug.eval.ast.instructions; /** * Pushes a double literal onto the stack. */ public class PushDouble extends SimpleInstruction { private double fValue; public PushDouble(double value) { fValue = value; } public void execute() { pushNewValue(fValue); } public String toString() { return InstructionsEvaluationMessages.PushDouble_push__1 + fValue; } } |
| ||||
/******************************************************************************* * Copyright (c) 2000, 2005 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ package org.eclipse.jdt.internal.debug.eval.ast.instructions; /** * Pushes a float literal onto the stack. */ public class PushFloat extends SimpleInstruction { private float fValue; public PushFloat(float value) { fValue = value; } public void execute() { pushNewValue(fValue); } public String toString() { return InstructionsEvaluationMessages.PushFloat_push__1 + fValue; } } |
| ||||
/******************************************************************************* * Copyright (c) 2000, 2005 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ package org.eclipse.jdt.internal.debug.eval.ast.instructions; /** * Pushes an int literal onto the stack. */ public class PushInt extends SimpleInstruction { private int fValue; public PushInt(int value) { fValue = value; } public void execute() { pushNewValue(fValue); } public String toString() { return InstructionsEvaluationMessages.PushInt_push__1 + fValue; } } |
| ||||
/******************************************************************************* * Copyright (c) 2000, 2005 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ package org.eclipse.jdt.internal.debug.eval.ast.instructions; /** * Pushes a long literal onto the stack. */ public class PushLong extends SimpleInstruction { private long fValue; public PushLong(long value) { fValue = value; } public void execute() { pushNewValue(fValue); } public String toString() { return InstructionsEvaluationMessages.PushLong_push__1 + fValue; } } |
| |||
/******************************************************************************* * Copyright (c) 2000, 2005 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ package org.eclipse.jdt.internal.debug.eval.ast.instructions; /** * Pushes a boolean literal onto the stack. */ /** * Pushes a char literal onto the stack. */ /** * Pushes a double literal onto the stack. */ /** * Pushes a float literal onto the stack. */ /** * Pushes an int literal onto the stack. */ /** * Pushes a long literal onto the stack. */ public class [[#variable57a0f5c0]]extends SimpleInstruction { private [[#variableb69d5800]] fValue; public [[#variable57a0f5c0]]( [[#variableb69d5800]] value) { fValue = value; } public void execute() { pushNewValue(fValue); } public String toString() { return InstructionsEvaluationMessages. [[#variableb69d5660]] + fValue; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#57a0f5c0]] | PushBoolean |
1 | 2 | [[#57a0f5c0]] | PushChar |
1 | 3 | [[#57a0f5c0]] | PushDouble |
1 | 4 | [[#57a0f5c0]] | PushFloat |
1 | 5 | [[#57a0f5c0]] | PushInt |
1 | 6 | [[#57a0f5c0]] | PushLong |
2 | 1 | [[#b69d5800]] | boolean |
2 | 2 | [[#b69d5800]] | char |
2 | 3 | [[#b69d5800]] | double |
2 | 4 | [[#b69d5800]] | float |
2 | 5 | [[#b69d5800]] | int |
2 | 6 | [[#b69d5800]] | long |
3 | 1 | [[#b69d5660]] | PushBoolean_push__1 |
3 | 2 | [[#b69d5660]] | PushChar_push__1 |
3 | 3 | [[#b69d5660]] | PushDouble_push__1 |
3 | 4 | [[#b69d5660]] | PushFloat_push__1 |
3 | 5 | [[#b69d5660]] | PushInt_push__1 |
3 | 6 | [[#b69d5660]] | PushLong_push__1 |