CloneSet3990


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4240.976class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14604
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaMethodBreakpoint.java
24338
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaWatchpoint.java
Clone Instance
1
Line Count
4
Source Line
604
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaMethodBreakpoint.java

        /**
         * Sets the default entry and exit attributes of the method breakpoint
         * The default values are:
         * <ul>
         * <li>entry = <code>true</code>
         * <li>exit = <code>false</code>
         * <ul>
         */
        protected void setDefaultEntryAndExit() throws CoreException {
                Object[] values = new Object[] {
                                                Boolean.TRUE, Boolean.FALSE
                                               };
                String[] attributes = new String[] {
                                                    ENTRY, EXIT
                                                   };
                setAttributes(attributes, values);
        }


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

        /**
         * Sets the default access and modification attributes of the watchpoint.
         * The default values are:
         * <ul>
         * <li>access = <code>false</code>
         * <li>modification = <code>true</code>
         * <ul>
         */
        protected void setDefaultAccessAndModification() throws CoreException {
                Object[] values = new Object[] {
                                                Boolean.TRUE, Boolean.TRUE
                                               };
                String[] attributes = new String[] {
                                                    ACCESS, MODIFICATION
                                                   };
                setAttributes(attributes, values);
        }


Clone AbstractionParameter Count: 4Parameter Bindings

/**
         * Sets the default access and modification attributes of the watchpoint.
         * The default values are:
         * <ul>
         * <li>access = <code>false</code>
         * <li>modification = <code>true</code>
         * <ul>
         */
/**
         * Sets the default entry and exit attributes of the method breakpoint
         * The default values are:
         * <ul>
         * <li>entry = <code>true</code>
         * <li>exit = <code>false</code>
         * <ul>
         */
protected void [[#variable97202da0]]() throws CoreException {
  Object[] values = new Object[] {
                                   Boolean.TRUE,
                                   Boolean. [[#variable97202d40]]
                                 };
  String[] attributes = new String[] {
                                        [[#variable97202ca0]],
                                        [[#variable97202ba0]]
                                     };
  setAttributes(attributes, values);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#97202da0]]
setDefaultAccessAndModification 
12[[#97202da0]]
setDefaultEntryAndExit 
21[[#97202d40]]
TRUE 
22[[#97202d40]]
FALSE 
31[[#97202ca0]]
ACCESS 
32[[#97202ca0]]
ENTRY 
41[[#97202ba0]]
MODIFICATION 
42[[#97202ba0]]
EXIT