CloneSet1744


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115119
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaOutlineInformationControl.java
21584
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsLabelProvider.java
Clone Instance
1
Line Count
15
Source Line
119
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaOutlineInformationControl.java

                /*
                 * @see ILabelProvider#getText
                 */
                public String getText(Object element) {
                        String text = super.getText(element);
                        if (fShowDefiningType) {
                                try {
                                        IType type = getDefiningType(element);
                                        if (type != null) {
                                                StringBuffer buf = new StringBuffer(super.getText(type));
                                                buf.append(JavaElementLabels.CONCAT_STRING);
                                                buf.append(text);
                                                return buf.toString();
                                        }
                                } catch (JavaModelException e) {
                                  }
                        }
                        return text;
                }


Clone Instance
2
Line Count
15
Source Line
84
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsLabelProvider.java

        /* (non-Javadoc)
         * @see ILabelProvider#getText
         */
        public String getText(Object element) {
                String text = super.getText(element);
                if (fShowDefiningType) {
                        try {
                                IType type = getDefiningType(element);
                                if (type != null) {
                                        StringBuffer buf = new StringBuffer(super.getText(type));
                                        buf.append(JavaElementLabels.CONCAT_STRING);
                                        buf.append(text);
                                        return buf.toString();
                                }
                        } catch (JavaModelException e) {
                          }
                }
                return text;
        }


Clone AbstractionParameter Count: 0Parameter Bindings

/* (non-Javadoc)
         * @see ILabelProvider#getText
         */
/*
                 * @see ILabelProvider#getText
                 */
public String getText(Object element) {
  String text = super.getText(element);
  if (fShowDefiningType) {
    try {
      IType type = getDefiningType(element);
      if (type != null) {
        StringBuffer buf = new StringBuffer(super.getText(type));
        buf.append(JavaElementLabels.CONCAT_STRING);
        buf.append(text);
        return buf.toString();
      }
    }
    catch (JavaModelException e) {
    }
  }
  return text;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None