CloneSet4246


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6240.969class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16112
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/request/EventRequestManagerImpl.java
26181
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/request/EventRequestManagerImpl.java
Clone Instance
1
Line Count
6
Source Line
112
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/request/EventRequestManagerImpl.java

        /**
         * Creates AccessWatchpointRequest.
         */
        public AccessWatchpointRequest createAccessWatchpointRequest(Field field) {
                FieldImpl fieldImpl = (FieldImpl) field;
                AccessWatchpointRequestImpl req = new AccessWatchpointRequestImpl(virtualMachineImpl());
                req.addFieldFilter(fieldImpl);
                addEventRequest(ACCESS_WATCHPOINT_INDEX, req);
                return req;
        }


Clone Instance
2
Line Count
6
Source Line
181
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/request/EventRequestManagerImpl.java

        /**
         * Creates ModificationWatchpointRequest.
         */
        public ModificationWatchpointRequest createModificationWatchpointRequest(Field field) {
                FieldImpl fieldImpl = (FieldImpl) field;
                ModificationWatchpointRequestImpl req = new ModificationWatchpointRequestImpl(virtualMachineImpl());
                req.addFieldFilter(fieldImpl);
                addEventRequest(MODIFICATION_WATCHPOINT_INDEX, req);
                return req;
        }


Clone AbstractionParameter Count: 4Parameter Bindings

/**
         * Creates AccessWatchpointRequest.
         */
/**
         * Creates ModificationWatchpointRequest.
         */
public [[#variable5b636f00]]  [[#variable5b636ea0]](Field field) {
  FieldImpl fieldImpl = (FieldImpl) field;
   [[#variable5b636e20]] req = new [[#variable5b636e20]](virtualMachineImpl());
  req.addFieldFilter(fieldImpl);
  addEventRequest( [[#variable5b636d20]], req);
  return req;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5b636f00]]
AccessWatchpointRequest 
12[[#5b636f00]]
ModificationWatchpointRequest 
21[[#5b636ea0]]
createAccessWatchpointRequest 
22[[#5b636ea0]]
createModificationWatchpointRequest 
31[[#5b636e20]]
AccessWatchpointRequestImpl 
32[[#5b636e20]]
ModificationWatchpointRequestImpl 
41[[#5b636d20]]
ACCESS_WATCHPOINT_INDEX 
42[[#5b636d20]]
MODIFICATION_WATCHPOINT_INDEX