CloneSet8376


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
38210.976interface_member_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
139117
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/eval/IEvaluationContext.java
238175
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/eval/IEvaluationContext.java
Clone Instance
1
Line Count
39
Source Line
117
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/eval/IEvaluationContext.java

        /**
         * Performs a code completion at the given position in the given code snippet,
         * reporting results to the given completion requestor.
         * <p>
         * Note that code completion does not involve evaluation.
         * <p>
         *
         * @param codeSnippet the code snippet to complete in
         * @param position the character position in the code snippet to complete at,
         *   or -1 indicating the beginning of the snippet
         * @param requestor the code completion requestor capable of accepting all
         *    possible types of completions
         * @exception JavaModelException if code completion could not be performed. Reasons include:
         *  <ul>
         *        <li>The position specified is less than -1 or is greater than the snippet's
         *          length (INDEX_OUT_OF_BOUNDS)</li>
         *  </ul>
         * @since 2.0
         * @deprecated Use {@link #codeComplete(String,int,CompletionRequestor)} instead.
         */
        public void codeComplete(
                String codeSnippet,
                int position,
                ICompletionRequestor requestor)
          throws       JavaModelException;
        /**
         * Performs a code completion at the given position in the given code snippet,
         * reporting results to the given completion requestor.
         * It considers types in the working copies with the given owner first. In other words, 
         * the owner's working copies will take precedence over their original compilation units
         * in the workspace.
         * <p>
         * Note that if a working copy is empty, it will be as if the original compilation
         * unit had been deleted.
         * </p>
         * <p>
         * Note that code completion does not involve evaluation.
         * <p>
         *
         * @param codeSnippet the code snippet to complete in
         * @param position the character position in the code snippet to complete at,
         *   or -1 indicating the beginning of the snippet
         * @param requestor the code completion requestor capable of accepting all
         *    possible types of completions
         * @param owner the owner of working copies that take precedence over their original compilation units
         * @exception JavaModelException if code completion could not be performed. Reasons include:
         *  <ul>
         *        <li>The position specified is less than -1 or is greater than the snippet's
         *          length (INDEX_OUT_OF_BOUNDS)</li>
         *  </ul>
         * @since 3.0
         * @deprecated Use {@link #codeComplete(String,int,CompletionRequestor,WorkingCopyOwner)} instead.
         */
        public void codeComplete(
                String codeSnippet,
                int position,
                ICompletionRequestor requestor,
                WorkingCopyOwner owner)
          throws       JavaModelException;


Clone Instance
2
Line Count
38
Source Line
175
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/eval/IEvaluationContext.java

        /**
         * Performs a code completion at the given position in the given code snippet,
         * reporting results to the given completion requestor.
         * <p>
         * Note that code completion does not involve evaluation.
         * <p>
         *
         * @param codeSnippet the code snippet to complete in
         * @param position the character position in the code snippet to complete at,
         *   or -1 indicating the beginning of the snippet
         * @param requestor the code completion requestor capable of accepting all
         *    possible types of completions
         * @exception JavaModelException if code completion could not be performed. Reasons include:
         *  <ul>
         *        <li>The position specified is less than -1 or is greater than the snippet's
         *          length (INDEX_OUT_OF_BOUNDS)</li>
         *  </ul>
         * @since 3.1
         */
        public void codeComplete(
                String codeSnippet,
                int position,
                CompletionRequestor requestor)
          throws       JavaModelException;
        /**
         * Performs a code completion at the given position in the given code snippet,
         * reporting results to the given completion requestor.
         * It considers types in the working copies with the given owner first. In other words, 
         * the owner's working copies will take precedence over their original compilation units
         * in the workspace.
         * <p>
         * Note that if a working copy is empty, it will be as if the original compilation
         * unit had been deleted.
         * </p>
         * <p>
         * Note that code completion does not involve evaluation.
         * <p>
         *
         * @param codeSnippet the code snippet to complete in
         * @param position the character position in the code snippet to complete at,
         *   or -1 indicating the beginning of the snippet
         * @param requestor the code completion requestor capable of accepting all
         *    possible types of completions
         * @param owner the owner of working copies that take precedence over their original compilation units
         * @exception JavaModelException if code completion could not be performed. Reasons include:
         *  <ul>
         *        <li>The position specified is less than -1 or is greater than the snippet's
         *          length (INDEX_OUT_OF_BOUNDS)</li>
         *  </ul>
         * @since 3.1
         */
        public void codeComplete(
                String codeSnippet,
                int position,
                CompletionRequestor requestor,
                WorkingCopyOwner owner)
          throws       JavaModelException;


Clone AbstractionParameter Count: 1Parameter Bindings

/**
         * Performs a code completion at the given position in the given code snippet,
         * reporting results to the given completion requestor.
         * <p>
         * Note that code completion does not involve evaluation.
         * <p>
         *
         * @param codeSnippet the code snippet to complete in
         * @param position the character position in the code snippet to complete at,
         *   or -1 indicating the beginning of the snippet
         * @param requestor the code completion requestor capable of accepting all
         *    possible types of completions
         * @exception JavaModelException if code completion could not be performed. Reasons include:
         *  <ul>
         *        <li>The position specified is less than -1 or is greater than the snippet's
         *          length (INDEX_OUT_OF_BOUNDS)</li>
         *  </ul>
         * @since 3.1
         */
/**
         * Performs a code completion at the given position in the given code snippet,
         * reporting results to the given completion requestor.
         * <p>
         * Note that code completion does not involve evaluation.
         * <p>
         *
         * @param codeSnippet the code snippet to complete in
         * @param position the character position in the code snippet to complete at,
         *   or -1 indicating the beginning of the snippet
         * @param requestor the code completion requestor capable of accepting all
         *    possible types of completions
         * @exception JavaModelException if code completion could not be performed. Reasons include:
         *  <ul>
         *        <li>The position specified is less than -1 or is greater than the snippet's
         *          length (INDEX_OUT_OF_BOUNDS)</li>
         *  </ul>
         * @since 2.0
         * @deprecated Use {@link #codeComplete(String,int,CompletionRequestor)} instead.
         */
public void codeComplete(String codeSnippet, int position, [[#variablebb84aac0]] requestor)
  throws JavaModelException;
/**
         * Performs a code completion at the given position in the given code snippet,
         * reporting results to the given completion requestor.
         * It considers types in the working copies with the given owner first. In other words, 
         * the owner's working copies will take precedence over their original compilation units
         * in the workspace.
         * <p>
         * Note that if a working copy is empty, it will be as if the original compilation
         * unit had been deleted.
         * </p>
         * <p>
         * Note that code completion does not involve evaluation.
         * <p>
         *
         * @param codeSnippet the code snippet to complete in
         * @param position the character position in the code snippet to complete at,
         *   or -1 indicating the beginning of the snippet
         * @param requestor the code completion requestor capable of accepting all
         *    possible types of completions
         * @param owner the owner of working copies that take precedence over their original compilation units
         * @exception JavaModelException if code completion could not be performed. Reasons include:
         *  <ul>
         *        <li>The position specified is less than -1 or is greater than the snippet's
         *          length (INDEX_OUT_OF_BOUNDS)</li>
         *  </ul>
         * @since 3.1
         */
/**
         * Performs a code completion at the given position in the given code snippet,
         * reporting results to the given completion requestor.
         * It considers types in the working copies with the given owner first. In other words, 
         * the owner's working copies will take precedence over their original compilation units
         * in the workspace.
         * <p>
         * Note that if a working copy is empty, it will be as if the original compilation
         * unit had been deleted.
         * </p>
         * <p>
         * Note that code completion does not involve evaluation.
         * <p>
         *
         * @param codeSnippet the code snippet to complete in
         * @param position the character position in the code snippet to complete at,
         *   or -1 indicating the beginning of the snippet
         * @param requestor the code completion requestor capable of accepting all
         *    possible types of completions
         * @param owner the owner of working copies that take precedence over their original compilation units
         * @exception JavaModelException if code completion could not be performed. Reasons include:
         *  <ul>
         *        <li>The position specified is less than -1 or is greater than the snippet's
         *          length (INDEX_OUT_OF_BOUNDS)</li>
         *  </ul>
         * @since 3.0
         * @deprecated Use {@link #codeComplete(String,int,CompletionRequestor,WorkingCopyOwner)} instead.
         */
public void codeComplete(String codeSnippet, int position, [[#variablebb84aac0]] requestor, WorkingCopyOwner owner)
  throws JavaModelException;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bb84aac0]]
CompletionRequestor 
12[[#bb84aac0]]
ICompletionRequestor