CloneSet3633


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9230.951block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19249
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaDetailFormattersManager.java
29340
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaDetailFormattersManager.java
Clone Instance
1
Line Count
9
Source Line
249
Source File
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());
                    }


Clone Instance
2
Line Count
9
Source Line
340
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaDetailFormattersManager.java

                                                                                               {
                if (type == null) {
                        return null;
                }
                DetailFormatter detailFormatter = (DetailFormatter) fDetailFormattersMap.get(type.getName());
                if (detailFormatter != null && detailFormatter.isEnabled()) {
                        return detailFormatter.getSnippet();
                }
                return getDetailFormatterSuperClass(type.getSuperclass());
                                                                                               }


Clone AbstractionParameter Count: 3Parameter Bindings

{
  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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a533ec80]]
detailFormatter 
12[[#a533ec80]]
formatter 
21[[#a533f5c0]]
detailFormatter.getSnippet() 
22[[#a533f5c0]]
formatter 
31[[#a533f620]]
getDetailFormatterSuperClass 
32[[#a533f620]]
getDetailFormatterFromSuperclass