CloneSet2372


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4420.976class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14446
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCodeScanner.java
24455
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCodeScanner.java
34464
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCodeScanner.java
44473
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCodeScanner.java
Clone Instance
1
Line Count
4
Source Line
446
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCodeScanner.java

        /*
         * @see org.eclipse.jdt.internal.ui.text.AbstractJavaScanner#getBoldKey(java.lang.String)
         */
        protected String getBoldKey(String colorKey) {
                if ((ANNOTATION_COLOR_KEY).equals(colorKey))
                        return ANNOTATION_BASE_KEY + PreferenceConstants.EDITOR_SEMANTIC_HIGHLIGHTING_BOLD_SUFFIX;
                return super.getBoldKey(colorKey);
        }


Clone Instance
2
Line Count
4
Source Line
455
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCodeScanner.java

        /*
         * @see org.eclipse.jdt.internal.ui.text.AbstractJavaScanner#getItalicKey(java.lang.String)
         */
        protected String getItalicKey(String colorKey) {
                if ((ANNOTATION_COLOR_KEY).equals(colorKey))
                        return ANNOTATION_BASE_KEY + PreferenceConstants.EDITOR_SEMANTIC_HIGHLIGHTING_ITALIC_SUFFIX;
                return super.getItalicKey(colorKey);
        }


Clone Instance
3
Line Count
4
Source Line
464
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCodeScanner.java

        /*
         * @see org.eclipse.jdt.internal.ui.text.AbstractJavaScanner#getStrikethroughKey(java.lang.String)
         */
        protected String getStrikethroughKey(String colorKey) {
                if ((ANNOTATION_COLOR_KEY).equals(colorKey))
                        return ANNOTATION_BASE_KEY + PreferenceConstants.EDITOR_SEMANTIC_HIGHLIGHTING_STRIKETHROUGH_SUFFIX;
                return super.getStrikethroughKey(colorKey);
        }


Clone Instance
4
Line Count
4
Source Line
473
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCodeScanner.java

        /*
         * @see org.eclipse.jdt.internal.ui.text.AbstractJavaScanner#getUnderlineKey(java.lang.String)
         */
        protected String getUnderlineKey(String colorKey) {
                if ((ANNOTATION_COLOR_KEY).equals(colorKey))
                        return ANNOTATION_BASE_KEY + PreferenceConstants.EDITOR_SEMANTIC_HIGHLIGHTING_UNDERLINE_SUFFIX;
                return super.getUnderlineKey(colorKey);
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/*
         * @see org.eclipse.jdt.internal.ui.text.AbstractJavaScanner#getBoldKey(java.lang.String)
         */
/*
         * @see org.eclipse.jdt.internal.ui.text.AbstractJavaScanner#getItalicKey(java.lang.String)
         */
/*
         * @see org.eclipse.jdt.internal.ui.text.AbstractJavaScanner#getStrikethroughKey(java.lang.String)
         */
/*
         * @see org.eclipse.jdt.internal.ui.text.AbstractJavaScanner#getUnderlineKey(java.lang.String)
         */
protected String  [[#variableb3dcd3a0]](String colorKey) {
  if ((ANNOTATION_COLOR_KEY).equals(colorKey))
    return ANNOTATION_BASE_KEY + PreferenceConstants. [[#variableb3dcd400]];
  return super. [[#variableb3dcd3a0]](colorKey);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b3dcd3a0]]
getBoldKey 
12[[#b3dcd3a0]]
getItalicKey 
13[[#b3dcd3a0]]
getStrikethroughKey 
14[[#b3dcd3a0]]
getUnderlineKey 
21[[#b3dcd400]]
EDITOR_SEMANTIC_HIGHLIGHTING_BOLD_SUFFIX 
22[[#b3dcd400]]
EDITOR_SEMANTIC_HIGHLIGHTING_ITALIC_SUFFIX 
23[[#b3dcd400]]
EDITOR_SEMANTIC_HIGHLIGHTING_STRIKETHROUGH_SUFFIX 
24[[#b3dcd400]]
EDITOR_SEMANTIC_HIGHLIGHTING_UNDERLINE_SUFFIX