| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 9 | 3 | 1 | 0.983 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 9 | 108 | plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIThisVariable.java |
| 2 | 9 | 122 | plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIThisVariable.java |
| 3 | 9 | 136 | plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIThisVariable.java |
| ||||
/**
* @see org.eclipse.jdt.debug.core.IJavaModifiers#isPrivate()
*/
public boolean isPrivate() throws DebugException {
try {
return ((ReferenceType) getUnderlyingType()).isPrivate();
} catch (RuntimeException e) {
targetRequestFailed(JDIDebugModelMessages.JDIThisVariable_Exception_occurred_while_retrieving_modifiers__1, e);
}
// this line will not be exceucted as an exception
// will be throw
return false;
}
|
| ||||
/**
* @see org.eclipse.jdt.debug.core.IJavaModifiers#isProtected()
*/
public boolean isProtected() throws DebugException {
try {
return ((ReferenceType) getUnderlyingType()).isProtected();
} catch (RuntimeException e) {
targetRequestFailed(JDIDebugModelMessages.JDIThisVariable_Exception_occurred_while_retrieving_modifiers__1, e);
}
// this line will not be exceucted as an exception
// will be throw
return false;
}
|
| ||||
/**
* @see org.eclipse.jdt.debug.core.IJavaModifiers#isPublic()
*/
public boolean isPublic() throws DebugException {
try {
return ((ReferenceType) getUnderlyingType()).isPublic();
} catch (RuntimeException e) {
targetRequestFailed(JDIDebugModelMessages.JDIThisVariable_Exception_occurred_while_retrieving_modifiers__1, e);
}
// this line will not be exceucted as an exception
// will be throw
return false;
}
|
| |||
/**
* @see org.eclipse.jdt.debug.core.IJavaModifiers#isPrivate()
*/
/**
* @see org.eclipse.jdt.debug.core.IJavaModifiers#isProtected()
*/
/**
* @see org.eclipse.jdt.debug.core.IJavaModifiers#isPublic()
*/
public boolean [[#variable9e6ec3a0]]() throws DebugException {
try {
return ((ReferenceType) getUnderlyingType()). [[#variable9e6ec3a0]]();
}
catch (RuntimeException e) {
targetRequestFailed(JDIDebugModelMessages.JDIThisVariable_Exception_occurred_while_retrieving_modifiers__1, e);
}
// this line will not be exceucted as an exception
// will be throw
// will be throw
return false;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#9e6ec3a0]] | isPrivate |
| 1 | 2 | [[#9e6ec3a0]] | isProtected |
| 1 | 3 | [[#9e6ec3a0]] | isPublic |