CloneSet5224


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
33220.978compilation_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/JdwpObjectID.java
23311
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/jdwp/JdwpReferenceTypeID.java
Clone Instance
1
Line Count
33
Source Line
11
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/jdwp/JdwpObjectID.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 JdwpObjectID extends JdwpID {
        /**
         * Creates new JdwpID.
         */
        public JdwpObjectID(VirtualMachineImpl vmImpl) {
                super(vmImpl);
        }

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

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




Clone Instance
2
Line Count
33
Source Line
11
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/jdwp/JdwpReferenceTypeID.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 JdwpReferenceTypeID extends JdwpID {
        /**
         * Creates new JdwpID.
         */
        public JdwpReferenceTypeID(VirtualMachineImpl vmImpl) {
                super(vmImpl);
        }

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

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




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 [[#variableb597e200]]extends JdwpID {
  /**
           * Creates new JdwpID.
           */
  public [[#variableb597e200]](VirtualMachineImpl vmImpl) {
    super(vmImpl);
  }

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

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


 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b597e200]]
JdwpObjectID 
12[[#b597e200]]
JdwpReferenceTypeID 
21[[#b597e020]]
objectIDSize 
22[[#b597e020]]
referenceTypeIDSize