CloneSet5047


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
30240.950compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13011
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/request/AccessWatchpointRequestImpl.java
23011
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/request/ModificationWatchpointRequestImpl.java
Clone Instance
1
Line Count
30
Source Line
11
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/request/AccessWatchpointRequestImpl.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.request;


import org.eclipse.jdi.internal.VirtualMachineImpl;
import org.eclipse.jdi.internal.event.AccessWatchpointEventImpl;

import com.sun.jdi.request.AccessWatchpointRequest;

/**
 * this class implements the corresponding interfaces
 * declared by the JDI specification. See the com.sun.jdi package
 * for more information.
 *
 */
public class AccessWatchpointRequestImpl extends WatchpointRequestImpl implements AccessWatchpointRequest {
        /**
         * Creates new AccessWatchpointRequest.
         */
        public AccessWatchpointRequestImpl(VirtualMachineImpl vmImpl) {
                super("AccessWatchpointRequest", vmImpl); //$NON-NLS-1$
        }

        /**
         * @return Returns JDWP EventKind.
         */
        protected final byte eventKind() {
                return AccessWatchpointEventImpl.EVENT_KIND;
        }
}




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


import org.eclipse.jdi.internal.VirtualMachineImpl;
import org.eclipse.jdi.internal.event.ModificationWatchpointEventImpl;

import com.sun.jdi.request.ModificationWatchpointRequest;

/**
 * this class implements the corresponding interfaces
 * declared by the JDI specification. See the com.sun.jdi package
 * for more information.
 *
 */
public class ModificationWatchpointRequestImpl extends WatchpointRequestImpl implements ModificationWatchpointRequest {
        /**
         * Creates new ModificationWatchpointRequest.
         */
        public ModificationWatchpointRequestImpl(VirtualMachineImpl vmImpl) {
                super("ModificationWatchpointRequest", vmImpl); //$NON-NLS-1$
        }

        /**
         * @return Returns JDWP EventKind.
         */
        protected final byte eventKind() {
                return ModificationWatchpointEventImpl.EVENT_KIND;
        }
}




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.request;

import org.eclipse.jdi.internal.VirtualMachineImpl;
import org.eclipse.jdi.internal.event. [[#variableb9523020]];
import com.sun.jdi.request. [[#variableb9522d20]];

/**
 * this class implements the corresponding interfaces
 * declared by the JDI specification. See the com.sun.jdi package
 * for more information.
 *
 */
public class [[#variableb9522f00]]extends WatchpointRequestImpl implements [[#variableb9522d20]]{
  /**
           * Creates new ModificationWatchpointRequest.
           */
  /**
           * Creates new AccessWatchpointRequest.
           */
  public [[#variableb9522f00]](VirtualMachineImpl vmImpl) {
    super( [[#variableb9522f20]], vmImpl); //$NON-NLS-1$
  }

  /**
           * @return Returns JDWP EventKind.
           */
  protected final byte eventKind() {
    return [[#variableb9523020]].EVENT_KIND;
  }
}


 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b9523020]]
ModificationWatchpointEventImpl 
12[[#b9523020]]
AccessWatchpointEventImpl 
21[[#b9522d20]]
ModificationWatchpointRequest 
22[[#b9522d20]]
AccessWatchpointRequest 
31[[#b9522f00]]
ModificationWatchpointRequestImpl 
32[[#b9522f00]]
AccessWatchpointRequestImpl 
41[[#b9522f20]]
"ModificationWatchpointRequest" 
42[[#b9522f20]]
"AccessWatchpointRequest"