Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
48 | 2 | 1 | 0.964 | class_body_declarations[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 41 | 231 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java |
2 | 48 | 225 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaTextTools.java |
| ||||
/** * Returns the Java source code scanner for this configuration. * * @return the Java source code scanner */ protected RuleBasedScanner getCodeScanner() { return fCodeScanner; } /** * Returns the Java multi-line comment scanner for this configuration. * * @return the Java multi-line comment scanner * @since 2.0 */ protected RuleBasedScanner getMultilineCommentScanner() { return fMultilineCommentScanner; } /** * Returns the Java single-line comment scanner for this configuration. * * @return the Java single-line comment scanner * @since 2.0 */ protected RuleBasedScanner getSinglelineCommentScanner() { return fSinglelineCommentScanner; } /** * Returns the Java string scanner for this configuration. * * @return the Java string scanner * @since 2.0 */ protected RuleBasedScanner getStringScanner() { return fStringScanner; } /** * Returns the JavaDoc scanner for this configuration. * * @return the JavaDoc scanner */ protected RuleBasedScanner getJavaDocScanner() { return fJavaDocScanner; } |
| ||||
/** * Returns a scanner which is configured to scan Java source code. * * @return a Java source code scanner * @deprecated As of 3.0, replaced by {@link JavaSourceViewerConfiguration#getCodeScanner()} */ public RuleBasedScanner getCodeScanner() { return fCodeScanner; } /** * Returns a scanner which is configured to scan Java multi-line comments. * * @return a Java multi-line comment scanner * @since 2.0 * @deprecated As of 3.0, replaced by {@link JavaSourceViewerConfiguration#getMultilineCommentScanner()} */ public RuleBasedScanner getMultilineCommentScanner() { return fMultilineCommentScanner; } /** * Returns a scanner which is configured to scan Java single-line comments. * * @return a Java single-line comment scanner * @since 2.0 * @deprecated As of 3.0, replaced by {@link JavaSourceViewerConfiguration#getSinglelineCommentScanner()} */ public RuleBasedScanner getSinglelineCommentScanner() { return fSinglelineCommentScanner; } /** * Returns a scanner which is configured to scan Java strings. * * @return a Java string scanner * @since 2.0 * @deprecated As of 3.0, replaced by {@link JavaSourceViewerConfiguration#getStringScanner()} */ public RuleBasedScanner getStringScanner() { return fStringScanner; } /** * Returns a scanner which is configured to scan JavaDoc compliant comments. * <p> * Note that the start sequence "/**" and the corresponding end sequence * are part of the Javadoc comment.</p> * * @return a Javadoc scanner * @deprecated As of 3.0, replaced by {@link JavaSourceViewerConfiguration#getJavaDocScanner()} */ public RuleBasedScanner getJavaDocScanner() { return fJavaDocScanner; } |
| |||
[[#variable58841740]]RuleBasedScanner getCodeScanner() { return fCodeScanner; } [[#variable58841740]]RuleBasedScanner getMultilineCommentScanner() { return fMultilineCommentScanner; } [[#variable58841740]]RuleBasedScanner getSinglelineCommentScanner() { return fSinglelineCommentScanner; } [[#variable58841740]]RuleBasedScanner getStringScanner() { return fStringScanner; } [[#variable58841740]]RuleBasedScanner getJavaDocScanner() { return fJavaDocScanner; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#58841740]] | /** * Returns a scanner which is configured to scan Java source code. * * @return a Java source code scanner * @deprecated As of 3.0, replaced by {@link JavaSourceViewerConfiguration#getCodeScanner()} */ public |
1 | 2 | [[#58841740]] | /** * Returns the Java source code scanner for this configuration. * * @return the Java source code scanner */ protected |