Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 5 | 0.953 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 517 | plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaMethodBreakpoint.java |
2 | 9 | 532 | plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaMethodBreakpoint.java |
| ||||
/** * @see IJavaMethodBreakpoint#setEntry(boolean) */ public void setEntry(boolean entry) throws CoreException { if (isEntry() != entry) { setAttribute(ENTRY, entry); if (entry && !isEnabled()) { setEnabled(true); } else if ( !(entry || isExit())) { setEnabled(false); } recreate(); } } |
| ||||
/** * @see IJavaMethodBreakpoint#setExit(boolean) */ public void setExit(boolean exit) throws CoreException { if (isExit() != exit) { setAttribute(EXIT, exit); if (exit && !isEnabled()) { setEnabled(true); } else if ( !(exit || isEntry())) { setEnabled(false); } recreate(); } } |
| |||
/** * @see IJavaMethodBreakpoint#setEntry(boolean) */ /** * @see IJavaMethodBreakpoint#setExit(boolean) */ public void [[#variableb4fbf100]](boolean [[#variableb4fbf080]]) throws CoreException { if ( [[#variableb4fbf020]]() != [[#variableb4fbf080]]) { setAttribute( [[#variableb4fbefc0]], [[#variableb4fbf080]]); if ( [[#variableb4fbf080]]&& !isEnabled()) { setEnabled(true); } else if ( !( [[#variableb4fbf080]]|| [[#variableb4fbeea0]]())) { setEnabled(false); } recreate(); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b4fbf100]] | setEntry |
1 | 2 | [[#b4fbf100]] | setExit |
2 | 1 | [[#b4fbf080]] | entry |
2 | 2 | [[#b4fbf080]] | exit |
3 | 1 | [[#b4fbf020]] | isEntry |
3 | 2 | [[#b4fbf020]] | isExit |
4 | 1 | [[#b4fbefc0]] | ENTRY |
4 | 2 | [[#b4fbefc0]] | EXIT |
5 | 1 | [[#b4fbeea0]] | isExit |
5 | 2 | [[#b4fbeea0]] | isEntry |