| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 10 | 5 | 1 | 0.994 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 10 | 50 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/BreakpointSuspendPolicyToggleAction.java |
| 2 | 10 | 40 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/EntryToggleAction.java |
| 3 | 10 | 47 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ExceptionCaughtToggleAction.java |
| 4 | 10 | 47 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ExceptionUncaughtToggleAction.java |
| 5 | 10 | 40 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ExitToggleAction.java |
| ||||
/**
* @see BreakpointToggleAction#isEnabledFor(IStructuredSelection)
*/
public boolean isEnabledFor(IStructuredSelection selection) {
Iterator iter = selection.iterator();
while (iter.hasNext()) {
Object element = iter.next();
if ( !(element instanceof IJavaBreakpoint)) {
return false;
}
}
return true;
}
|
| ||||
/**
* @see BreakpointToggleAction#isEnabledFor(IStructuredSelection)
*/
public boolean isEnabledFor(IStructuredSelection selection) {
Iterator iter = selection.iterator();
while (iter.hasNext()) {
Object element = iter.next();
if ( !(element instanceof IJavaMethodBreakpoint)) {
return false;
}
}
return true;
}
|
| ||||
/**
* @see BreakpointToggleAction#isEnabledFor(IStructuredSelection)
*/
public boolean isEnabledFor(IStructuredSelection selection) {
Iterator iter = selection.iterator();
while (iter.hasNext()) {
Object element = iter.next();
if ( !(element instanceof IJavaExceptionBreakpoint)) {
return false;
}
}
return true;
}
|
| ||||
/**
* @see BreakpointToggleAction#isEnabledFor(IStructuredSelection)
*/
public boolean isEnabledFor(IStructuredSelection selection) {
Iterator iter = selection.iterator();
while (iter.hasNext()) {
Object element = iter.next();
if ( !(element instanceof IJavaExceptionBreakpoint)) {
return false;
}
}
return true;
}
|
| ||||
/**
* @see BreakpointToggleAction#isEnabledFor(IStructuredSelection)
*/
public boolean isEnabledFor(IStructuredSelection selection) {
Iterator iter = selection.iterator();
while (iter.hasNext()) {
Object element = iter.next();
if ( !(element instanceof IJavaMethodBreakpoint)) {
return false;
}
}
return true;
}
|
| |||
/**
* @see BreakpointToggleAction#isEnabledFor(IStructuredSelection)
*/
public boolean isEnabledFor(IStructuredSelection selection) {
Iterator iter = selection.iterator();
while (iter.hasNext()) {
Object element = iter.next();
if ( !(element instanceof [[#variableb85f0360]])) {
return false;
}
}
return true;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b85f0360]] | IJavaMethodBreakpoint |
| 1 | 2 | [[#b85f0360]] | IJavaExceptionBreakpoint |
| 1 | 3 | [[#b85f0360]] | IJavaBreakpoint |
| 1 | 4 | [[#b85f0360]] | IJavaMethodBreakpoint |
| 1 | 5 | [[#b85f0360]] | IJavaExceptionBreakpoint |