Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
17 | 2 | 2 | 0.995 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 510 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/infoviews/JavadocView.java |
2 | 17 | 151 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavadocHover.java |
| ||||
// HTMLPrinter.addSmallHeader(buffer, getInfoText(member)); Reader reader; try { reader = JavadocContentAccess.getHTMLContentReader(member, true, true); // Provide hint why there's no Javadoc if (reader == null && member.isBinary()) { IPackageFragmentRoot root = (IPackageFragmentRoot) member.getAncestor(IJavaElement.PACKAGE_FRAGMENT_ROOT); if (root != null && root.getSourceAttachmentPath() == null && root.getAttachedJavadoc(null) == null) reader = new StringReader(InfoViewMessages.JavadocView_noAttachedInformation); } } catch (JavaModelException ex) { return null; } if (reader != null) { HTMLPrinter.addParagraph(buffer, reader); } |
| ||||
Reader reader; try { reader = JavadocContentAccess.getHTMLContentReader(member, true, true); // Provide hint why there's no Javadoc if (reader == null && member.isBinary()) { IPackageFragmentRoot root = (IPackageFragmentRoot) member.getAncestor(IJavaElement.PACKAGE_FRAGMENT_ROOT); if (root != null && root.getSourceAttachmentPath() == null && root.getAttachedJavadoc(null) == null) reader = new StringReader(JavaHoverMessages.JavadocHover_noAttachedInformation); } } catch (JavaModelException ex) { return null; } if (reader != null) { HTMLPrinter.addParagraph(buffer, reader); } |
| |||
// HTMLPrinter.addSmallHeader(buffer, getInfoText(member)); Reader reader; try { reader = JavadocContentAccess.getHTMLContentReader(member, true, true); // Provide hint why there's no Javadoc if (reader == null && member.isBinary()) { IPackageFragmentRoot root = (IPackageFragmentRoot) member.getAncestor(IJavaElement.PACKAGE_FRAGMENT_ROOT); if (root != null && root.getSourceAttachmentPath() == null && root.getAttachedJavadoc(null) == null) reader = new StringReader( [[#variable9bb1ddc0]]. [[#variable52e761c0]]); } } catch (JavaModelException ex) { return null; } if (reader != null) { HTMLPrinter.addParagraph(buffer, reader); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9bb1ddc0]] | JavaHoverMessages |
1 | 2 | [[#9bb1ddc0]] | InfoViewMessages |
2 | 1 | [[#52e761c0]] | JavadocHover_noAttachedInformation |
2 | 2 | [[#52e761c0]] | JavadocView_noAttachedInformation |