CloneSet1330


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
17220.995statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116510
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/infoviews/JavadocView.java
217151
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavadocHover.java
Clone Instance
1
Line Count
16
Source Line
510
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/infoviews/JavadocView.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);
                                }


Clone Instance
2
Line Count
17
Source Line
151
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavadocHover.java

                                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);
                                }


Clone AbstractionParameter Count: 2Parameter Bindings

//                              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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9bb1ddc0]]
JavaHoverMessages 
12[[#9bb1ddc0]]
InfoViewMessages 
21[[#52e761c0]]
JavadocHover_noAttachedInformation 
22[[#52e761c0]]
JavadocView_noAttachedInformation