CloneSet7670


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2220.963class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1253
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/infoviews/TextSelectionConverter.java
2266
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/infoviews/TextSelectionConverter.java
Clone Instance
1
Line Count
2
Source Line
53
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/infoviews/TextSelectionConverter.java

        /**
         * Finds and returns the Java elements for the given editor selection.
         *
         * @param editor the Java editor
         * @param selection the text selection
         * @return      the Java elements for the given editor selection
         * @throws JavaModelException
         */
        public static IJavaElement[] codeResolve(JavaEditor editor, ITextSelection selection) throws JavaModelException {
                return codeResolve(getInput(editor), selection);
        }


Clone Instance
2
Line Count
2
Source Line
66
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/infoviews/TextSelectionConverter.java

        /**
         * Finds and returns the Java element that contains the
         * text selection in the given editor.
         *
         * @param editor the Java editor
         * @param selection the text selection
         * @return      the Java elements for the given editor selection
         * @throws JavaModelException
         */
        public static IJavaElement getElementAtOffset(JavaEditor editor, ITextSelection selection) throws JavaModelException {
                return getElementAtOffset(getInput(editor), selection);
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * Finds and returns the Java elements for the given editor selection.
         *
         * @param editor the Java editor
         * @param selection the text selection
         * @return      the Java elements for the given editor selection
         * @throws JavaModelException
         */
/**
         * Finds and returns the Java element that contains the
         * text selection in the given editor.
         *
         * @param editor the Java editor
         * @param selection the text selection
         * @return      the Java elements for the given editor selection
         * @throws JavaModelException
         */
public static IJavaElement [[#variable5aa02780]]  [[#variable5aa026e0]](JavaEditor editor, ITextSelection selection) throws JavaModelException {
  return [[#variable5aa026e0]](getInput(editor), selection);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5aa02780]]
[] 
12[[#5aa02780]]
21[[#5aa026e0]]
codeResolve 
22[[#5aa026e0]]
getElementAtOffset