CloneSet3402


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
33320.977compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13311
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/jdwp/JdwpFieldID.java
23311
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/jdwp/JdwpFrameID.java
33311
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/jdwp/JdwpMethodID.java
Clone Instance
1
Line Count
33
Source Line
11
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/jdwp/JdwpFieldID.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.jdi.internal.jdwp;


import org.eclipse.jdi.internal.VirtualMachineImpl;

/**
 * This class implements the corresponding Java Debug Wire Protocol (JDWP) ID
 * declared by the JDWP specification.
 *
 */
public class JdwpFieldID extends JdwpID {
        /**
         * Creates new JdwpID.
         */
        public JdwpFieldID(VirtualMachineImpl vmImpl) {
                super(vmImpl);
        }

        /**
         * @return Returns VM specific size of ID.
         */
        public int getSize() {
                return fVirtualMachine.fieldIDSize();
        }

        /**
         * @return Returns true if ID is null.
         */
        public boolean isNull() {
                return false;
        }
}




Clone Instance
2
Line Count
33
Source Line
11
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/jdwp/JdwpFrameID.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.jdi.internal.jdwp;


import org.eclipse.jdi.internal.VirtualMachineImpl;

/**
 * This class implements the corresponding Java Debug Wire Protocol (JDWP) ID
 * declared by the JDWP specification.
 *
 */
public class JdwpFrameID extends JdwpID {
        /**
         * Creates new JdwpID.
         */
        public JdwpFrameID(VirtualMachineImpl vmImpl) {
                super(vmImpl);
        }

        /**
         * @return Returns VM specific size of ID.
         */
        public int getSize() {
                return fVirtualMachine.frameIDSize();
        }

        /**
         * @return Returns true if ID is null.
         */
        public boolean isNull() {
                return false;
        }
}




Clone Instance
3
Line Count
33
Source Line
11
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/jdwp/JdwpMethodID.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.jdi.internal.jdwp;


import org.eclipse.jdi.internal.VirtualMachineImpl;

/**
 * This class implements the corresponding Java Debug Wire Protocol (JDWP) ID
 * declared by the JDWP specification.
 *
 */
public class JdwpMethodID extends JdwpID {
        /**
         * Creates new JdwpID.
         */
        public JdwpMethodID(VirtualMachineImpl vmImpl) {
                super(vmImpl);
        }

        /**
         * @return Returns VM specific size of ID.
         */
        public int getSize() {
                return fVirtualMachine.methodIDSize();
        }

        /**
         * @return Returns true if ID is null.
         */
        public boolean isNull() {
                return false;
        }
}




Clone AbstractionParameter Count: 2Parameter 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.jdi.internal.jdwp;

import org.eclipse.jdi.internal.VirtualMachineImpl;

/**
 * This class implements the corresponding Java Debug Wire Protocol (JDWP) ID
 * declared by the JDWP specification.
 *
 */
public class [[#variable5464b5a0]]extends JdwpID {
  /**
           * Creates new JdwpID.
           */
  public [[#variable5464b5a0]](VirtualMachineImpl vmImpl) {
    super(vmImpl);
  }

  /**
           * @return Returns VM specific size of ID.
           */
  public int getSize() {
    return fVirtualMachine. [[#variable5464a760]]();
  }

  /**
           * @return Returns true if ID is null.
           */
  public boolean isNull() {
    return false;
  }
}


 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5464b5a0]]
JdwpFieldID 
12[[#5464b5a0]]
JdwpFrameID 
13[[#5464b5a0]]
JdwpMethodID 
21[[#5464a760]]
fieldIDSize 
22[[#5464a760]]
frameIDSize 
23[[#5464a760]]
methodIDSize