CloneSet7477


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.979class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15235
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaDetailFormattersManager.java
25268
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaDetailFormattersManager.java
Clone Instance
1
Line Count
5
Source Line
235
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaDetailFormattersManager.java

        /**
         * Returns if the specified <code>IJavaType</code> has a detail formatter on one of its interfaces
         * @param type the type to inspect
         * @return true if there is an existing detail formater on one of the types' interfaces, false otherwise
         * @since 3.2
         */
        public boolean hasInterfaceDetailFormatter(IJavaType type) {
                if (type instanceof IJavaClassType) {
                        return getDetailFormatterFromInterface((IJavaClassType) type) != null;
                }
                return false;
        }


Clone Instance
2
Line Count
5
Source Line
268
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaDetailFormattersManager.java

        /**
         * Returns if one of the parent classes of the specified type has a detail formatter
         * @param type the type to inspect
         * @return true if one of the parent classes of the type has a detail formatter, false otherwise
         * @since 3.2
         */
        public boolean hasSuperclassDetailFormatter(IJavaType type) {
                if (type instanceof IJavaClassType) {
                        return getDetailFormatterFromSuperclass((IJavaClassType) type) != null;
                }
                return false;
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * Returns if the specified <code>IJavaType</code> has a detail formatter on one of its interfaces
         * @param type the type to inspect
         * @return true if there is an existing detail formater on one of the types' interfaces, false otherwise
         * @since 3.2
         */
/**
         * Returns if one of the parent classes of the specified type has a detail formatter
         * @param type the type to inspect
         * @return true if one of the parent classes of the type has a detail formatter, false otherwise
         * @since 3.2
         */
public boolean  [[#variable58bf36c0]](IJavaType type) {
  if (type instanceof IJavaClassType) {
    return [[#variable58bf3600]]((IJavaClassType) type) != null;
  }
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#58bf36c0]]
hasInterfaceDetailFormatter 
12[[#58bf36c0]]
hasSuperclassDetailFormatter 
21[[#58bf3600]]
getDetailFormatterFromInterface 
22[[#58bf3600]]
getDetailFormatterFromSuperclass