Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 4 | 0.976 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 604 | plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaMethodBreakpoint.java |
2 | 4 | 338 | plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaWatchpoint.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); } |
| ||||
/** * 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); } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#97202da0]] | setDefaultAccessAndModification |
1 | 2 | [[#97202da0]] | setDefaultEntryAndExit |
2 | 1 | [[#97202d40]] | TRUE |
2 | 2 | [[#97202d40]] | FALSE |
3 | 1 | [[#97202ca0]] | ACCESS |
3 | 2 | [[#97202ca0]] | ENTRY |
4 | 1 | [[#97202ba0]] | MODIFICATION |
4 | 2 | [[#97202ba0]] | EXIT |