CloneSet2210


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5240.981class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15263
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/debug/core/JDIDebugModel.java
25395
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/debug/core/JDIDebugModel.java
Clone Instance
1
Line Count
5
Source Line
263
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/debug/core/JDIDebugModel.java

        /**
         * Creates and returns a line breakpoint in the type with the
         * given name, at the given line number. The marker associated with the
         * breakpoint will be created on the specified resource. If a character
         * range within the line is known, it may be specified by charStart/charEnd.
         * If hitCount is > 0, the breakpoint will suspend execution when it is
         * "hit" the specified number of times.
         * 
         * @param resource the resource on which to create the associated breakpoint
         *  marker
         * @param typeName the fully qualified name of the type the breakpoint is
         *  to be installed in. If the breakpoint is to be installed in an inner type,
         *  it is sufficient to provide the name of the top level enclosing type.
         *      If an inner class name is specified, it should be formatted as the 
         *  associated class file name (i.e. with <code>$</code>). For example,
         *      <code>example.SomeClass$InnerType</code>, could be specified, but
         *      <code>example.SomeClass</code> is sufficient.
         * @param lineNumber the lineNumber on which the breakpoint is set - line
         *   numbers are 1 based, associated with the source file in which
         *   the breakpoint is set
         * @param charStart the first character index associated with the breakpoint,
         *   or -1 if unspecified, in the source file in which the breakpoint is set
         * @param charEnd the last character index associated with the breakpoint,
         *   or -1 if unspecified, in the source file in which the breakpoint is set
         * @param hitCount the number of times the breakpoint will be hit before
         *   suspending execution - 0 if it should always suspend
         * @param register whether to add this breakpoint to the breakpoint manager
         * @param attributes a map of client defined attributes that should be assigned
         *  to the underlying breakpoint marker on creation, or <code>null</code> if none.
         * @return a line breakpoint
         * @exception CoreException If this method fails. Reasons include:<ul> 
         *<li>Failure creating underlying marker.  The exception's status contains
         * the underlying exception responsible for the failure.</li></ul>
         * @since 2.0
         */
        public static IJavaLineBreakpoint createLineBreakpoint(IResource resource, String typeName, int lineNumber, int charStart, int charEnd, int hitCount, boolean register, Map attributes) throws CoreException {
                if (attributes == null) {
                        attributes = new HashMap(10);
                }
                return new JavaLineBreakpoint(resource, typeName, lineNumber, charStart, charEnd, hitCount, register, attributes);
        }


Clone Instance
2
Line Count
5
Source Line
395
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/debug/core/JDIDebugModel.java

        /**
         * Creates and returns a target pattern breakpoint for the given resource at the
         * given line number. Clients must set the class name pattern per target for
         * this type of breakpoint.
         * If hitCount > 0, the breakpoint will suspend execution when it is
         * "hit" the specified number of times. 
         * 
         * @param resource the resource on which to create the associated breakpoint
         *  marker
         * @param sourceName the name of the source file in which the breakpoint is
         *  set, or <code>null</code>. When specified, the pattern breakpoint will
         *  install itself in classes that have a source file name debug attribute
         *  that matches this value, and satisfies the class name pattern.
         * @param lineNumber the lineNumber on which the breakpoint is set - line
         *   numbers are 1 based, associated with the source file in which
         *   the breakpoint is set
         * @param charStart the first character index associated with the breakpoint,
         *   or -1 if unspecified, in the source file in which the breakpoint is set
         * @param charEnd the last character index associated with the breakpoint,
         *   or -1 if unspecified, in the source file in which the breakpoint is set
         * @param hitCount the number of times the breakpoint will be hit before
         *   suspending execution - 0 if it should always suspend
         * @param register whether to add this breakpoint to the breakpoint manager
         * @param attributes a map of client defined attributes that should be assigned
         *  to the underlying breakpoint marker on creation, or <code>null</code> if none.
         * @return a target pattern breakpoint
         * @exception CoreException If this method fails. Reasons include:<ul> 
         *<li>Failure creating underlying marker.  The exception's status contains
         * the underlying exception responsible for the failure.</li></ul>
         */
        public static IJavaTargetPatternBreakpoint createTargetPatternBreakpoint(IResource resource, String sourceName, int lineNumber, int charStart, int charEnd, int hitCount, boolean register, Map attributes) throws CoreException {
                if (attributes == null) {
                        attributes = new HashMap(10);
                }
                return new JavaTargetPatternBreakpoint(resource, sourceName, lineNumber, charStart, charEnd, hitCount, register, attributes);
        }


Clone AbstractionParameter Count: 4Parameter Bindings

/**
         * Creates and returns a line breakpoint in the type with the
         * given name, at the given line number. The marker associated with the
         * breakpoint will be created on the specified resource. If a character
         * range within the line is known, it may be specified by charStart/charEnd.
         * If hitCount is > 0, the breakpoint will suspend execution when it is
         * "hit" the specified number of times.
         * 
         * @param resource the resource on which to create the associated breakpoint
         *  marker
         * @param typeName the fully qualified name of the type the breakpoint is
         *  to be installed in. If the breakpoint is to be installed in an inner type,
         *  it is sufficient to provide the name of the top level enclosing type.
         *      If an inner class name is specified, it should be formatted as the 
         *  associated class file name (i.e. with <code>$</code>). For example,
         *      <code>example.SomeClass$InnerType</code>, could be specified, but
         *      <code>example.SomeClass</code> is sufficient.
         * @param lineNumber the lineNumber on which the breakpoint is set - line
         *   numbers are 1 based, associated with the source file in which
         *   the breakpoint is set
         * @param charStart the first character index associated with the breakpoint,
         *   or -1 if unspecified, in the source file in which the breakpoint is set
         * @param charEnd the last character index associated with the breakpoint,
         *   or -1 if unspecified, in the source file in which the breakpoint is set
         * @param hitCount the number of times the breakpoint will be hit before
         *   suspending execution - 0 if it should always suspend
         * @param register whether to add this breakpoint to the breakpoint manager
         * @param attributes a map of client defined attributes that should be assigned
         *  to the underlying breakpoint marker on creation, or <code>null</code> if none.
         * @return a line breakpoint
         * @exception CoreException If this method fails. Reasons include:<ul> 
         *<li>Failure creating underlying marker.  The exception's status contains
         * the underlying exception responsible for the failure.</li></ul>
         * @since 2.0
         */
/**
         * Creates and returns a target pattern breakpoint for the given resource at the
         * given line number. Clients must set the class name pattern per target for
         * this type of breakpoint.
         * If hitCount > 0, the breakpoint will suspend execution when it is
         * "hit" the specified number of times. 
         * 
         * @param resource the resource on which to create the associated breakpoint
         *  marker
         * @param sourceName the name of the source file in which the breakpoint is
         *  set, or <code>null</code>. When specified, the pattern breakpoint will
         *  install itself in classes that have a source file name debug attribute
         *  that matches this value, and satisfies the class name pattern.
         * @param lineNumber the lineNumber on which the breakpoint is set - line
         *   numbers are 1 based, associated with the source file in which
         *   the breakpoint is set
         * @param charStart the first character index associated with the breakpoint,
         *   or -1 if unspecified, in the source file in which the breakpoint is set
         * @param charEnd the last character index associated with the breakpoint,
         *   or -1 if unspecified, in the source file in which the breakpoint is set
         * @param hitCount the number of times the breakpoint will be hit before
         *   suspending execution - 0 if it should always suspend
         * @param register whether to add this breakpoint to the breakpoint manager
         * @param attributes a map of client defined attributes that should be assigned
         *  to the underlying breakpoint marker on creation, or <code>null</code> if none.
         * @return a target pattern breakpoint
         * @exception CoreException If this method fails. Reasons include:<ul> 
         *<li>Failure creating underlying marker.  The exception's status contains
         * the underlying exception responsible for the failure.</li></ul>
         */
public static [[#variableb44cce20]]  [[#variableb44ccda0]](IResource resource, String  [[#variableb44ccd40]], int lineNumber, int charStart, int charEnd, int hitCount, boolean register, Map attributes) throws CoreException {
  if (attributes == null) {
    attributes = new HashMap(10);
  }
  return new [[#variableb44ccce0]](resource,  [[#variableb44ccd40]], lineNumber, charStart, charEnd, hitCount, register, attributes);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b44cce20]]
IJavaLineBreakpoint 
12[[#b44cce20]]
IJavaTargetPatternBreakpoint 
21[[#b44ccda0]]
createLineBreakpoint 
22[[#b44ccda0]]
createTargetPatternBreakpoint 
31[[#b44ccd40]]
typeName 
32[[#b44ccd40]]
sourceName 
41[[#b44ccce0]]
JavaLineBreakpoint 
42[[#b44ccce0]]
JavaTargetPatternBreakpoint