Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 1 | 0.996 | statement_sequence[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 261 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesFileSourceViewerConfiguration.java |
2 | 11 | 883 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java |
| ||||
if ( !fPreferenceStore.getBoolean(AbstractDecoratedTextEditorPreferenceConstants.EDITOR_HYPERLINKS_ENABLED)) return null; IHyperlinkDetector[] inheritedDetectors = super.getHyperlinkDetectors(sourceViewer); if (fTextEditor == null) return inheritedDetectors; int inheritedDetectorsLength = inheritedDetectors != null ? inheritedDetectors.length: 0; IHyperlinkDetector[] detectors = new IHyperlinkDetector[inheritedDetectorsLength + 2]; detectors[0] = new PropertyKeyHyperlinkDetector(fTextEditor); |
| ||||
if ( !fPreferenceStore.getBoolean(AbstractDecoratedTextEditorPreferenceConstants.EDITOR_HYPERLINKS_ENABLED)) return null; IHyperlinkDetector[] inheritedDetectors = super.getHyperlinkDetectors(sourceViewer); if (fTextEditor == null) return inheritedDetectors; int inheritedDetectorsLength = inheritedDetectors != null ? inheritedDetectors.length: 0; IHyperlinkDetector[] detectors = new IHyperlinkDetector[inheritedDetectorsLength + 2]; detectors[0] = new NLSKeyHyperlinkDetector(fTextEditor); |
| |||
if ( !fPreferenceStore.getBoolean(AbstractDecoratedTextEditorPreferenceConstants.EDITOR_HYPERLINKS_ENABLED)) return null; IHyperlinkDetector[] inheritedDetectors = super.getHyperlinkDetectors(sourceViewer); if (fTextEditor == null) return inheritedDetectors; int inheritedDetectorsLength = inheritedDetectors != null ? inheritedDetectors.length: 0; IHyperlinkDetector[] detectors = new IHyperlinkDetector[inheritedDetectorsLength + 2]; detectors[0] = new [[#variableb8aac360]](fTextEditor); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b8aac360]] | PropertyKeyHyperlinkDetector |
1 | 2 | [[#b8aac360]] | NLSKeyHyperlinkDetector |