Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.962 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 1256 | plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/hcr/JavaHotCodeReplaceManager.java |
2 | 3 | 1268 | 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); } } |
| ||||
/** * 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); } } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#c2a6cbe0]] | addHotSwapTarget |
1 | 2 | [[#c2a6cbe0]] | addNonHotSwapTarget |
2 | 1 | [[#c2a6cb80]] | fHotSwapTargets |
2 | 2 | [[#c2a6cb80]] | fNoHotSwapTargets |