CloneSet3077


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11461
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/display/DisplayViewerConfiguration.java
21445
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetViewerConfiguration.java
Clone Instance
1
Line Count
14
Source Line
61
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/display/DisplayViewerConfiguration.java

        /* (non-Javadoc)
         * @see org.eclipse.jface.text.source.SourceViewerConfiguration#getContentAssistant(org.eclipse.jface.text.source.ISourceViewer)
         */
        public IContentAssistant getContentAssistant(ISourceViewer sourceViewer) {

                ContentAssistant assistant = new ContentAssistant();
                assistant.setContentAssistProcessor(
                        getContentAssistantProcessor(), 
                        IDocument.DEFAULT_CONTENT_TYPE);

                JDIContentAssistPreference.configure(assistant, getColorManager());

                assistant.setContextInformationPopupOrientation(IContentAssistant.CONTEXT_INFO_ABOVE);
                assistant.setInformationControlCreator(
                        getInformationControlCreator(sourceViewer));

                return assistant;
        }


Clone Instance
2
Line Count
14
Source Line
45
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetViewerConfiguration.java

        /**
         * @see SourceViewerConfiguration#getContentAssistant(ISourceViewer)
         */
        public IContentAssistant getContentAssistant(ISourceViewer sourceViewer) {

                ContentAssistant assistant = new ContentAssistant();
                assistant.setContentAssistProcessor(
                        getContentAssistantProcessor(), 
                        IDocument.DEFAULT_CONTENT_TYPE);

                JDIContentAssistPreference.configure(assistant, getColorManager());

                assistant.setContextInformationPopupOrientation(IContentAssistant.CONTEXT_INFO_ABOVE);
                assistant.setInformationControlCreator(
                        getInformationControlCreator(sourceViewer));

                return assistant;
        }


Clone AbstractionParameter Count: 0Parameter Bindings

/**
         * @see SourceViewerConfiguration#getContentAssistant(ISourceViewer)
         */
/* (non-Javadoc)
         * @see org.eclipse.jface.text.source.SourceViewerConfiguration#getContentAssistant(org.eclipse.jface.text.source.ISourceViewer)
         */
public IContentAssistant getContentAssistant(ISourceViewer sourceViewer) {
  ContentAssistant assistant = new ContentAssistant();
  assistant.setContentAssistProcessor(getContentAssistantProcessor(), IDocument.DEFAULT_CONTENT_TYPE);
  JDIContentAssistPreference.configure(assistant, getColorManager());
  assistant.setContextInformationPopupOrientation(IContentAssistant.CONTEXT_INFO_ABOVE);
  assistant.setInformationControlCreator(getInformationControlCreator(sourceViewer));
  return assistant;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None