Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.979 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 235 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaDetailFormattersManager.java |
2 | 5 | 268 | 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; } |
| ||||
/** * 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; } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#58bf36c0]] | hasInterfaceDetailFormatter |
1 | 2 | [[#58bf36c0]] | hasSuperclassDetailFormatter |
2 | 1 | [[#58bf3600]] | getDetailFormatterFromInterface |
2 | 2 | [[#58bf3600]] | getDetailFormatterFromSuperclass |