CloneSet3410


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8240.979statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18593
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightingManager.java
28333
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/AbstractJavaScanner.java
Clone Instance
1
Line Count
8
Source Line
593
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightingManager.java

                boolean eventValue = false;
                Object value = event.getNewValue();
                if (value instanceof Boolean)
                        eventValue = ((Boolean) value).booleanValue();
                else if (IPreferenceStore.TRUE.equals(value))
                        eventValue = true;

                TextAttribute oldAttr = highlighting.getTextAttribute();


Clone Instance
2
Line Count
8
Source Line
333
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/AbstractJavaScanner.java

                boolean eventValue = false;
                Object value = event.getNewValue();
                if (value instanceof Boolean)
                        eventValue = ((Boolean) value).booleanValue();
                else if (IPreferenceStore.TRUE.equals(value))
                        eventValue = true;

                Object data = token.getData();


Clone AbstractionParameter Count: 4Parameter Bindings

boolean eventValue = false;
Object value = event.getNewValue();
if (value instanceof Boolean)
  eventValue = ((Boolean) value).booleanValue();
else
  if (IPreferenceStore.TRUE.equals(value))
    eventValue = true;
 [[#variable5b68a920]]  [[#variable941e6de0]]= [[#variable5b68aa00]]. [[#variable5dca33a0]]();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5b68a920]]
TextAttribute 
12[[#5b68a920]]
Object 
21[[#941e6de0]]
oldAttr 
22[[#941e6de0]]
data 
31[[#5b68aa00]]
highlighting 
32[[#5b68aa00]]
token 
41[[#5dca33a0]]
getTextAttribute 
42[[#5dca33a0]]
getData