CloneSet1658


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
38240.972compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13811
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/event/VMDeathEventImpl.java
23811
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/event/VMDisconnectEventImpl.java
Clone Instance
1
Line Count
38
Source Line
11
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/event/VMDeathEventImpl.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.event;


import java.io.DataInputStream;

import org.eclipse.jdi.internal.MirrorImpl;
import org.eclipse.jdi.internal.VirtualMachineImpl;
import org.eclipse.jdi.internal.request.RequestID;

import com.sun.jdi.event.VMDeathEvent;

/**
 * this class implements the corresponding interfaces
 * declared by the JDI specification. See the com.sun.jdi package
 * for more information.
 *
 */
public class VMDeathEventImpl extends EventImpl implements VMDeathEvent {
        /** Jdwp Event Kind. */
        public static final byte EVENT_KIND = EVENT_VM_DEATH;

        /**
         * Creates new VMDeathEventImpl.
         */
        public VMDeathEventImpl(VirtualMachineImpl vmImpl, RequestID requestID) {
                super("VMDeathEvent", vmImpl, requestID); //$NON-NLS-1$
        }

        /**
         * @return Creates, reads and returns new EventImpl, of which requestID has already been read.
         */
        public static VMDeathEventImpl read(MirrorImpl target, RequestID requestID, DataInputStream dataInStream) {
                VirtualMachineImpl vmImpl = target.virtualMachineImpl();
                VMDeathEventImpl event = new VMDeathEventImpl(vmImpl, requestID);
                return event;
        }
}




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


import java.io.DataInputStream;

import org.eclipse.jdi.internal.MirrorImpl;
import org.eclipse.jdi.internal.VirtualMachineImpl;
import org.eclipse.jdi.internal.request.RequestID;

import com.sun.jdi.event.VMDisconnectEvent;

/**
 * this class implements the corresponding interfaces
 * declared by the JDI specification. See the com.sun.jdi package
 * for more information.
 *
 */
public class VMDisconnectEventImpl extends EventImpl implements VMDisconnectEvent {
        /** Jdwp Event Kind. */
        public static final byte EVENT_KIND = EVENT_VM_DISCONNECTED;

        /**
         * Creates new VMDisconnectEventImpl.
         */
        public VMDisconnectEventImpl(VirtualMachineImpl vmImpl, RequestID requestID) {
                super("VMDisconnectEvent", vmImpl, requestID); //$NON-NLS-1$
        }

        /**
         * @return Creates, reads and returns new EventImpl, of which requestID has already been read.
         */
        public static VMDisconnectEventImpl read(MirrorImpl target, RequestID requestID, DataInputStream dataInStream) {
                VirtualMachineImpl vmImpl = target.virtualMachineImpl();
                VMDisconnectEventImpl event = new VMDisconnectEventImpl(vmImpl, requestID);
                return event;
        }
}




Clone AbstractionParameter Count: 4Parameter 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.event;

import java.io.DataInputStream;
import org.eclipse.jdi.internal.MirrorImpl;
import org.eclipse.jdi.internal.VirtualMachineImpl;
import org.eclipse.jdi.internal.request.RequestID;
import com.sun.jdi.event. [[#variablea31530e0]];

/**
 * this class implements the corresponding interfaces
 * declared by the JDI specification. See the com.sun.jdi package
 * for more information.
 *
 */
public class [[#variablea3153040]]extends EventImpl implements [[#variablea31530e0]]{
  /** Jdwp Event Kind. */
  public static final byte EVENT_KIND = [[#variablea3152fe0]];

  /**
           * Creates new VMDeathEventImpl.
           */
  /**
           * Creates new VMDisconnectEventImpl.
           */
  public [[#variablea3153040]](VirtualMachineImpl vmImpl, RequestID requestID) {
    super( [[#variablea3152f60]], vmImpl, requestID); //$NON-NLS-1$
  }

  /**
           * @return Creates, reads and returns new EventImpl, of which requestID has already been read.
           */
  public static [[#variablea3153040]] read(MirrorImpl target, RequestID requestID, DataInputStream dataInStream) {
    VirtualMachineImpl vmImpl = target.virtualMachineImpl();
     [[#variablea3153040]] event = new [[#variablea3153040]](vmImpl, requestID);
    return event;
  }
}


 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a31530e0]]
VMDeathEvent 
12[[#a31530e0]]
VMDisconnectEvent 
21[[#a3153040]]
VMDeathEventImpl 
22[[#a3153040]]
VMDisconnectEventImpl 
31[[#a3152fe0]]
EVENT_VM_DEATH 
32[[#a3152fe0]]
EVENT_VM_DISCONNECTED 
41[[#a3152f60]]
"VMDeathEvent" 
42[[#a3152f60]]
"VMDisconnectEvent"