CloneSet2008


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
18220.977statement_sequence[7]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
118168
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaPatternBreakpoint.java
21886
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaTargetPatternBreakpoint.java
Clone Instance
1
Line Count
18
Source Line
168
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaPatternBreakpoint.java

                if (referenceTypeName == null) {
                        return;
                }

                String classPrepareTypeName = referenceTypeName;
                // create request to listen to class loads
                //name may only be partially resolved
                if ( !referenceTypeName.endsWith("*")) { //$NON-NLS-1$
                        classPrepareTypeName = classPrepareTypeName + '*';
                }
                registerRequest(target.createClassPrepareRequest(classPrepareTypeName), target);

                // create breakpoint requests for each class currently loaded
                VirtualMachine vm = target.getVM();
                if (vm == null) {
                        target.requestFailed(JDIDebugBreakpointMessages.JavaPatternBreakpoint_Unable_to_add_breakpoint___VM_disconnected__1, null);
                }
                List classes = null;


Clone Instance
2
Line Count
18
Source Line
86
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaTargetPatternBreakpoint.java

                if (referenceTypeName == null) {
                        return;
                }

                String classPrepareTypeName = referenceTypeName;
                // create request to listen to class loads
                //name may only be partially resolved
                if ( !referenceTypeName.endsWith("*")) { //$NON-NLS-1$
                        classPrepareTypeName = classPrepareTypeName + '*';
                }
                registerRequest(target.createClassPrepareRequest(classPrepareTypeName), target);

                // create breakpoint requests for each class currently loaded
                VirtualMachine vm = target.getVM();
                if (vm == null) {
                        target.requestFailed(JDIDebugBreakpointMessages.JavaTargetPatternBreakpoint_Unable_to_add_breakpoint___VM_disconnected__1, null);
                }
                List classes = vm.allClasses();


Clone AbstractionParameter Count: 2Parameter Bindings

if (referenceTypeName == null) {
  return;
}
String classPrepareTypeName = referenceTypeName;
// create request to listen to class loads
//name may only be partially resolved
if ( !referenceTypeName.endsWith("*")) { //$NON-NLS-1$
  classPrepareTypeName = classPrepareTypeName + '*';
}
registerRequest(target.createClassPrepareRequest(classPrepareTypeName), target);
// create breakpoint requests for each class currently loaded
VirtualMachine vm = target.getVM();
if (vm == null) {
  target.requestFailed(JDIDebugBreakpointMessages. [[#variable52829c80]], null);
}
List classes = [[#variable643c4ea0]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#52829c80]]
JavaTargetPatternBreakpoint_Unable_to_add_breakpoint___VM_disconnected__1 
12[[#52829c80]]
JavaPatternBreakpoint_Unable_to_add_breakpoint___VM_disconnected__1 
21[[#643c4ea0]]
vm.allClasses() 
22[[#643c4ea0]]
null