CloneSet6176


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6210.991class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16101
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesFileSourceViewerConfiguration.java
26197
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java
Clone Instance
1
Line Count
6
Source Line
101
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesFileSourceViewerConfiguration.java

        /**
         * Creates a new properties file source viewer configuration for viewers in the given editor
         * using the given preference store, the color manager and the specified document partitioning.
         *
         * @param colorManager the color manager
         * @param preferenceStore the preference store, can be read-only
         * @param editor the editor in which the configured viewer(s) will reside
         * @param partitioning the document partitioning for this configuration
         */
        public PropertiesFileSourceViewerConfiguration(IColorManager colorManager, IPreferenceStore preferenceStore, ITextEditor editor, String partitioning) {
                super(preferenceStore);
                fColorManager = colorManager;
                fTextEditor = editor;
                fDocumentPartitioning = partitioning;
                initializeScanners();
        }


Clone Instance
2
Line Count
6
Source Line
197
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java

        /**
         * Creates a new Java source viewer configuration for viewers in the given editor
         * using the given preference store, the color manager and the specified document partitioning.
         * <p>
         * Creates a Java source viewer configuration in the new setup without text tools. Clients are
         * allowed to call {@link JavaSourceViewerConfiguration#handlePropertyChangeEvent(PropertyChangeEvent)}
         * and disallowed to call {@link JavaSourceViewerConfiguration#getPreferenceStore()} on the resulting
         * Java source viewer configuration.
         * </p>
         *
         * @param colorManager the color manager
         * @param preferenceStore the preference store, can be read-only
         * @param editor the editor in which the configured viewer(s) will reside, or <code>null</code> if none
         * @param partitioning the document partitioning for this configuration, or <code>null</code> for the default partitioning
         * @since 3.0
         */
        public JavaSourceViewerConfiguration(IColorManager colorManager, IPreferenceStore preferenceStore, ITextEditor editor, String partitioning) {
                super(preferenceStore);
                fColorManager = colorManager;
                fTextEditor = editor;
                fDocumentPartitioning = partitioning;
                initializeScanners();
        }


Clone AbstractionParameter Count: 1Parameter Bindings

/**
         * Creates a new Java source viewer configuration for viewers in the given editor
         * using the given preference store, the color manager and the specified document partitioning.
         * <p>
         * Creates a Java source viewer configuration in the new setup without text tools. Clients are
         * allowed to call {@link JavaSourceViewerConfiguration#handlePropertyChangeEvent(PropertyChangeEvent)}
         * and disallowed to call {@link JavaSourceViewerConfiguration#getPreferenceStore()} on the resulting
         * Java source viewer configuration.
         * </p>
         *
         * @param colorManager the color manager
         * @param preferenceStore the preference store, can be read-only
         * @param editor the editor in which the configured viewer(s) will reside, or <code>null</code> if none
         * @param partitioning the document partitioning for this configuration, or <code>null</code> for the default partitioning
         * @since 3.0
         */
/**
         * Creates a new properties file source viewer configuration for viewers in the given editor
         * using the given preference store, the color manager and the specified document partitioning.
         *
         * @param colorManager the color manager
         * @param preferenceStore the preference store, can be read-only
         * @param editor the editor in which the configured viewer(s) will reside
         * @param partitioning the document partitioning for this configuration
         */
public [[#variable5d02eb60]](IColorManager colorManager, IPreferenceStore preferenceStore, ITextEditor editor, String partitioning) {
  super(preferenceStore);
  fColorManager = colorManager;
  fTextEditor = editor;
  fDocumentPartitioning = partitioning;
  initializeScanners();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5d02eb60]]
JavaSourceViewerConfiguration 
12[[#5d02eb60]]
PropertiesFileSourceViewerConfiguration