CloneSet2769


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8210.991class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18308
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/CompletionProposalCategory.java
28322
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/CompletionProposalCategory.java
Clone Instance
1
Line Count
8
Source Line
308
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/CompletionProposalCategory.java

        /**
         * Notifies the computers in this category of a proposal computation session start.
         */
        public void sessionStarted() {
                List descriptors = new ArrayList(fRegistry.getProposalComputerDescriptors());
                for (Iterator it = descriptors.iterator(); it.hasNext();) {
                        CompletionProposalComputerDescriptor desc = (CompletionProposalComputerDescriptor) it.next();
                        if (desc.getCategory() == this )
                                desc.sessionStarted();
                        if (fLastError == null)
                                fLastError = desc.getErrorMessage();
                }
        }


Clone Instance
2
Line Count
8
Source Line
322
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/CompletionProposalCategory.java

        /**
         * Notifies the computers in this category of a proposal computation session end.
         */
        public void sessionEnded() {
                List descriptors = new ArrayList(fRegistry.getProposalComputerDescriptors());
                for (Iterator it = descriptors.iterator(); it.hasNext();) {
                        CompletionProposalComputerDescriptor desc = (CompletionProposalComputerDescriptor) it.next();
                        if (desc.getCategory() == this )
                                desc.sessionEnded();
                        if (fLastError == null)
                                fLastError = desc.getErrorMessage();
                }
        }


Clone AbstractionParameter Count: 1Parameter Bindings

/**
         * Notifies the computers in this category of a proposal computation session start.
         */
/**
         * Notifies the computers in this category of a proposal computation session end.
         */
public void [[#variable951b4000]]() {
  List descriptors = new ArrayList(fRegistry.getProposalComputerDescriptors());
  for (Iterator it = descriptors.iterator(); it.hasNext();) {
    CompletionProposalComputerDescriptor desc = (CompletionProposalComputerDescriptor) it.next();
    if (desc.getCategory() == this )
      desc. [[#variable951b4000]]();
    if (fLastError == null)
      fLastError = desc.getErrorMessage();
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#951b4000]]
sessionStarted 
12[[#951b4000]]
sessionEnded