CloneSet3643


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8220.989statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18397
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaWatchpoint.java
28408
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaWatchpoint.java
Clone Instance
1
Line Count
8
Source Line
397
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaWatchpoint.java

                if (request instanceof AccessWatchpointRequest) {
                        if (isAccess()) {
                                if (enabled != request.isEnabled()) {
                                        internalUpdateEnabledState(request, enabled, target);
                                }
                        }
                        else   {
                                if (request.isEnabled()) {
                                        internalUpdateEnabledState(request, false, target);
                                }
                        }
                }


Clone Instance
2
Line Count
8
Source Line
408
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaWatchpoint.java

                if (request instanceof ModificationWatchpointRequest) {
                        if (isModification()) {
                                if (enabled != request.isEnabled()) {
                                        internalUpdateEnabledState(request, enabled, target);
                                }
                        }
                        else   {
                                if (request.isEnabled()) {
                                        internalUpdateEnabledState(request, false, target);
                                }
                        }
                }


Clone AbstractionParameter Count: 2Parameter Bindings

if (request instanceof [[#variable5b4c70c0]]) {
  if ( [[#variable538bb140]]()) {
    if (enabled != request.isEnabled()) {
      internalUpdateEnabledState(request, enabled, target);
    }
  }
  else {
    if (request.isEnabled()) {
      internalUpdateEnabledState(request, false, target);
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5b4c70c0]]
ModificationWatchpointRequest 
12[[#5b4c70c0]]
AccessWatchpointRequest 
21[[#538bb140]]
isModification 
22[[#538bb140]]
isAccess