CloneSet1027


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
23630.965compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12311
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PushBoolean.java
22511
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PushChar.java
32511
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PushDouble.java
42511
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PushFloat.java
52511
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PushInt.java
62511
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PushLong.java
Clone Instance
1
Line Count
23
Source Line
11
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PushBoolean.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;
        }
}




Clone Instance
2
Line Count
25
Source Line
11
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PushChar.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 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;
        }
}




Clone Instance
3
Line Count
25
Source Line
11
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PushDouble.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 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;
        }
}




Clone Instance
4
Line Count
25
Source Line
11
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PushFloat.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 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;
        }
}




Clone Instance
5
Line Count
25
Source Line
11
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PushInt.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 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;
        }
}




Clone Instance
6
Line Count
25
Source Line
11
Source File
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 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;
        }
}




Clone AbstractionParameter Count: 3Parameter Bindings

/*******************************************************************************
 * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#57a0f5c0]]
PushBoolean 
12[[#57a0f5c0]]
PushChar 
13[[#57a0f5c0]]
PushDouble 
14[[#57a0f5c0]]
PushFloat 
15[[#57a0f5c0]]
PushInt 
16[[#57a0f5c0]]
PushLong 
21[[#b69d5800]]
boolean 
22[[#b69d5800]]
char 
23[[#b69d5800]]
double 
24[[#b69d5800]]
float 
25[[#b69d5800]]
int 
26[[#b69d5800]]
long 
31[[#b69d5660]]
PushBoolean_push__1 
32[[#b69d5660]]
PushChar_push__1 
33[[#b69d5660]]
PushDouble_push__1 
34[[#b69d5660]]
PushFloat_push__1 
35[[#b69d5660]]
PushInt_push__1 
36[[#b69d5660]]
PushLong_push__1