| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 9 | 2 | 3 | 0.951 | block |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 9 | 249 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaDetailFormattersManager.java |
| 2 | 9 | 340 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaDetailFormattersManager.java |
| ||||
{
if (type == null) {
return null;
}
DetailFormatter formatter = (DetailFormatter) fDetailFormattersMap.get(type.getName());
if (formatter != null && formatter.isEnabled()) {
return formatter;
}
return getDetailFormatterFromSuperclass(type.getSuperclass());
}
|
| ||||
{
if (type == null) {
return null;
}
DetailFormatter detailFormatter = (DetailFormatter) fDetailFormattersMap.get(type.getName());
if (detailFormatter != null && detailFormatter.isEnabled()) {
return detailFormatter.getSnippet();
}
return getDetailFormatterSuperClass(type.getSuperclass());
}
|
| |||
{
if (type == null) {
return null;
}
DetailFormatter [[#variablea533ec80]]= (DetailFormatter) fDetailFormattersMap.get(type.getName());
if ( [[#variablea533ec80]]!= null && [[#variablea533ec80]].isEnabled()) {
return [[#variablea533f5c0]];
}
return [[#variablea533f620]](type.getSuperclass());
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#a533ec80]] | detailFormatter |
| 1 | 2 | [[#a533ec80]] | formatter |
| 2 | 1 | [[#a533f5c0]] | detailFormatter.getSnippet() |
| 2 | 2 | [[#a533f5c0]] | formatter |
| 3 | 1 | [[#a533f620]] | getDetailFormatterSuperClass |
| 3 | 2 | [[#a533f620]] | getDetailFormatterFromSuperclass |