CloneSet8964


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.962class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
131256
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/hcr/JavaHotCodeReplaceManager.java
231268
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/hcr/JavaHotCodeReplaceManager.java
Clone Instance
1
Line Count
3
Source Line
1256
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/hcr/JavaHotCodeReplaceManager.java

        /**
         * Adds the given target to the list of hot-swappable targets.
         * Has no effect if the target is already registered.
         * 
         * @param target a target that supports hot swap
         */
        protected void addHotSwapTarget(JDIDebugTarget target) {
                if ( !fHotSwapTargets.contains(target)) {
                        fHotSwapTargets.add(target);
                }
        }


Clone Instance
2
Line Count
3
Source Line
1268
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/hcr/JavaHotCodeReplaceManager.java

        /**
         * Adds the given target to the list of non hot-swappable targets.
         * Has no effect if the target is already registered.
         * 
         * @param target a target that does not support hot swap
         */
        protected void addNonHotSwapTarget(JDIDebugTarget target) {
                if ( !fNoHotSwapTargets.contains(target)) {
                        fNoHotSwapTargets.add(target);
                }
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * Adds the given target to the list of hot-swappable targets.
         * Has no effect if the target is already registered.
         * 
         * @param target a target that supports hot swap
         */
/**
         * Adds the given target to the list of non hot-swappable targets.
         * Has no effect if the target is already registered.
         * 
         * @param target a target that does not support hot swap
         */
protected void [[#variablec2a6cbe0]](JDIDebugTarget target) {
  if ( ! [[#variablec2a6cb80]].contains(target)) {
     [[#variablec2a6cb80]].add(target);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#c2a6cbe0]]
addHotSwapTarget 
12[[#c2a6cbe0]]
addNonHotSwapTarget 
21[[#c2a6cb80]]
fHotSwapTargets 
22[[#c2a6cb80]]
fNoHotSwapTargets