CloneSet1818


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6601.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16321
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LinkedCorrectionProposal.java
26162
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LinkedNamesAssistProposal.java
36151
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ExperimentalProposal.java
46718
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/GenericJavaTypeProposal.java
56217
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ParameterGuessingProposal.java
66260
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/contentassist/TemplateProposal.java
Clone Instance
1
Line Count
6
Source Line
321
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LinkedCorrectionProposal.java

        /**
         * Returns the currently active java editor, or <code>null</code> if it
         * cannot be determined.
         *
         * @return  the currently active java editor, or <code>null</code>
         */
        private JavaEditor getJavaEditor() {
                IEditorPart part = JavaPlugin.getActivePage().getActiveEditor();
                if (part instanceof JavaEditor)
                        return (JavaEditor) part;
                else
                        return null;
        }


Clone Instance
2
Line Count
6
Source Line
162
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LinkedNamesAssistProposal.java

        /**
         * Returns the currently active java editor, or <code>null</code> if it
         * cannot be determined.
         *
         * @return  the currently active java editor, or <code>null</code>
         */
        private JavaEditor getJavaEditor() {
                IEditorPart part = JavaPlugin.getActivePage().getActiveEditor();
                if (part instanceof JavaEditor)
                        return (JavaEditor) part;
                else
                        return null;
        }


Clone Instance
3
Line Count
6
Source Line
151
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ExperimentalProposal.java

        /**
         * Returns the currently active java editor, or <code>null</code> if it
         * cannot be determined.
         *
         * @return  the currently active java editor, or <code>null</code>
         */
        private JavaEditor getJavaEditor() {
                IEditorPart part = JavaPlugin.getActivePage().getActiveEditor();
                if (part instanceof JavaEditor)
                        return (JavaEditor) part;
                else
                        return null;
        }


Clone Instance
4
Line Count
6
Source Line
718
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/GenericJavaTypeProposal.java

        /**
         * Returns the currently active java editor, or <code>null</code> if it
         * cannot be determined.
         *
         * @return  the currently active java editor, or <code>null</code>
         */
        private JavaEditor getJavaEditor() {
                IEditorPart part = JavaPlugin.getActivePage().getActiveEditor();
                if (part instanceof JavaEditor)
                        return (JavaEditor) part;
                else
                        return null;
        }


Clone Instance
5
Line Count
6
Source Line
217
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ParameterGuessingProposal.java

        /**
         * Returns the currently active java editor, or <code>null</code> if it
         * cannot be determined.
         *
         * @return  the currently active java editor, or <code>null</code>
         */
        private JavaEditor getJavaEditor() {
                IEditorPart part = JavaPlugin.getActivePage().getActiveEditor();
                if (part instanceof JavaEditor)
                        return (JavaEditor) part;
                else
                        return null;
        }


Clone Instance
6
Line Count
6
Source Line
260
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/contentassist/TemplateProposal.java

        /**
         * Returns the currently active java editor, or <code>null</code> if it
         * cannot be determined.
         *
         * @return  the currently active java editor, or <code>null</code>
         */
        private JavaEditor getJavaEditor() {
                IEditorPart part = JavaPlugin.getActivePage().getActiveEditor();
                if (part instanceof JavaEditor)
                        return (JavaEditor) part;
                else
                        return null;
        }


Clone AbstractionParameter Count: 0Parameter Bindings

/**
         * Returns the currently active java editor, or <code>null</code> if it
         * cannot be determined.
         *
         * @return  the currently active java editor, or <code>null</code>
         */
private JavaEditor getJavaEditor() {
  IEditorPart part = JavaPlugin.getActivePage().getActiveEditor();
  if (part instanceof JavaEditor)
    return (JavaEditor) part;
  else
    return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None