CloneSet3728


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6210.994class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16841
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java
26320
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaTextTools.java
Clone Instance
1
Line Count
6
Source Line
841
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java

        /**
         * Determines whether the preference change encoded by the given event
         * changes the behavior of one of its contained components.
         *
         * @param event the event to be investigated
         * @return <code>true</code> if event causes a behavioral change
         * @since 3.0
         */
        public boolean affectsTextPresentation(PropertyChangeEvent event) {
                return  fCodeScanner.affectsBehavior(event) ||
                           fMultilineCommentScanner.affectsBehavior(event) ||
                           fSinglelineCommentScanner.affectsBehavior(event) ||
                           fStringScanner.affectsBehavior(event) ||
                           fJavaDocScanner.affectsBehavior(event);
        }


Clone Instance
2
Line Count
6
Source Line
320
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaTextTools.java

        /**
         * Determines whether the preference change encoded by the given event
         * changes the behavior of one its contained components.
         *
         * @param event the event to be investigated
         * @return <code>true</code> if event causes a behavioral change
         * @since 2.0
         * @deprecated As of 3.0, replaced by {@link org.eclipse.jdt.ui.text.JavaSourceViewerConfiguration#affectsTextPresentation(PropertyChangeEvent)}
         */
        public boolean affectsBehavior(PropertyChangeEvent event) {
                return  fCodeScanner.affectsBehavior(event) ||
                                        fMultilineCommentScanner.affectsBehavior(event) ||
                                        fSinglelineCommentScanner.affectsBehavior(event) ||
                                        fStringScanner.affectsBehavior(event) ||
                                        fJavaDocScanner.affectsBehavior(event);
        }


Clone AbstractionParameter Count: 1Parameter Bindings

/**
         * Determines whether the preference change encoded by the given event
         * changes the behavior of one its contained components.
         *
         * @param event the event to be investigated
         * @return <code>true</code> if event causes a behavioral change
         * @since 2.0
         * @deprecated As of 3.0, replaced by {@link org.eclipse.jdt.ui.text.JavaSourceViewerConfiguration#affectsTextPresentation(PropertyChangeEvent)}
         */
/**
         * Determines whether the preference change encoded by the given event
         * changes the behavior of one of its contained components.
         *
         * @param event the event to be investigated
         * @return <code>true</code> if event causes a behavioral change
         * @since 3.0
         */
public boolean  [[#variable5a61bb40]](PropertyChangeEvent event) {
  return fCodeScanner.affectsBehavior(event) || fMultilineCommentScanner.affectsBehavior(event) || fSinglelineCommentScanner.affectsBehavior(event) || fStringScanner.affectsBehavior(event) || fJavaDocScanner.affectsBehavior(event);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5a61bb40]]
affectsBehavior 
12[[#5a61bb40]]
affectsTextPresentation