CloneSet630


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
41340.977compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14111
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/event/ThreadDeathEventImpl.java
24111
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/event/ThreadStartEventImpl.java
34111
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/event/VMStartEventImpl.java
Clone Instance
1
Line Count
41
Source Line
11
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/event/ThreadDeathEventImpl.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 java.io.IOException;

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

import com.sun.jdi.event.ThreadDeathEvent;

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

        /**
         * Creates new ThreadDeathEventImpl.
         */
        private ThreadDeathEventImpl(VirtualMachineImpl vmImpl, RequestID requestID) {
                super("ThreadDeathEvent", vmImpl, requestID); //$NON-NLS-1$
        }

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




Clone Instance
2
Line Count
41
Source Line
11
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/event/ThreadStartEventImpl.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 java.io.IOException;

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

import com.sun.jdi.event.ThreadStartEvent;

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

        /**
         * Creates new ThreadDeathEventImpl.
         */
        private ThreadStartEventImpl(VirtualMachineImpl vmImpl, RequestID requestID) {
                super("ThreadStartEvent", vmImpl, requestID); //$NON-NLS-1$
        }

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




Clone Instance
3
Line Count
41
Source Line
11
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/event/VMStartEventImpl.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 java.io.IOException;

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

import com.sun.jdi.event.VMStartEvent;

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

        /**
         * Creates new VMStartEventImpl.
         */
        private VMStartEventImpl(VirtualMachineImpl vmImpl, RequestID requestID) {
                super("VMStartEvent", vmImpl, requestID); //$NON-NLS-1$
        }

        /**
         * @return Creates, reads and returns new EventImpl, of which requestID has already been read.
         */
        public static VMStartEventImpl read(MirrorImpl target, RequestID requestID, DataInputStream dataInStream) throws IOException {
                VirtualMachineImpl vmImpl = target.virtualMachineImpl();
                VMStartEventImpl event = new VMStartEventImpl(vmImpl, requestID);
                event.fThreadRef = ThreadReferenceImpl.read(target, dataInStream);
                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 java.io.IOException;
import org.eclipse.jdi.internal.MirrorImpl;
import org.eclipse.jdi.internal.ThreadReferenceImpl;
import org.eclipse.jdi.internal.VirtualMachineImpl;
import org.eclipse.jdi.internal.request.RequestID;
import com.sun.jdi.event. [[#variablebd0cf7c0]];

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

  /**
           * Creates new ThreadDeathEventImpl.
           */
  /**
           * Creates new VMStartEventImpl.
           */
  private [[#variablebd0cf720]](VirtualMachineImpl vmImpl, RequestID requestID) {
    super( [[#variablebd0cf660]], vmImpl, requestID); //$NON-NLS-1$
  }

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


 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bd0cf7c0]]
ThreadDeathEvent 
12[[#bd0cf7c0]]
ThreadStartEvent 
13[[#bd0cf7c0]]
VMStartEvent 
21[[#bd0cf720]]
ThreadDeathEventImpl 
22[[#bd0cf720]]
ThreadStartEventImpl 
23[[#bd0cf720]]
VMStartEventImpl 
31[[#bd0cf6c0]]
EVENT_THREAD_DEATH 
32[[#bd0cf6c0]]
EVENT_THREAD_START 
33[[#bd0cf6c0]]
EVENT_VM_START 
41[[#bd0cf660]]
"ThreadDeathEvent" 
42[[#bd0cf660]]
"ThreadStartEvent" 
43[[#bd0cf660]]
"VMStartEvent"