CloneSet3065


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

                boolean activeValue = (oldAttr.getStyle()&  styleAttribute) == styleAttribute;

                if (activeValue != eventValue)
                        highlighting.setTextAttribute(new TextAttribute(oldAttr.getForeground(), oldAttr.getBackground(), eventValue ? oldAttr.getStyle()|  styleAttribute:  oldAttr.getStyle()&  ~styleAttribute));


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

                        boolean activeValue = (oldAttr.getStyle()&  styleAttribute) == styleAttribute;
                        if (activeValue != eventValue)
                                token.setData(new TextAttribute(oldAttr.getForeground(), oldAttr.getBackground(), eventValue ? oldAttr.getStyle()|  styleAttribute:  oldAttr.getStyle()&  ~styleAttribute));


Clone AbstractionParameter Count: 2Parameter Bindings

boolean activeValue = (oldAttr.getStyle()&styleAttribute) == styleAttribute;
if (activeValue != eventValue)
   [[#variable58111bc0]]. [[#variableb3606f00]](new TextAttribute(oldAttr.getForeground(), oldAttr.getBackground(), eventValue ? oldAttr.getStyle()|styleAttribute: oldAttr.getStyle()& ~styleAttribute));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#58111bc0]]
highlighting 
12[[#58111bc0]]
token 
21[[#b3606f00]]
setTextAttribute 
22[[#b3606f00]]
setData