CloneSet3430


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10230.963class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11030
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/variables/JavaVariableColumnEditorFactory.java
21045
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/variables/JavaVariableColumnEditorFactory.java
Clone Instance
1
Line Count
10
Source Line
30
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/variables/JavaVariableColumnEditorFactory.java

        /* (non-Javadoc)
         * @see org.eclipse.debug.internal.ui.viewers.provisional.IColumnEditorFactoryAdapter#createColumnEditor(org.eclipse.debug.internal.ui.viewers.provisional.IPresentationContext, java.lang.Object)
         */
        public IColumnEditor createColumnEditor(IPresentationContext context, Object element) {
                IWorkbenchPart part = context.getPart();
                if (part != null) {
                        if (IDebugUIConstants.ID_VARIABLE_VIEW.equals(part.getSite().getId())) {
                                if (element instanceof IJavaVariable) {
                                        return new JavaVariableColumnEditor();
                                }
                        }
                }
                return null;
        }


Clone Instance
2
Line Count
10
Source Line
45
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/variables/JavaVariableColumnEditorFactory.java

        /* (non-Javadoc)
         * @see org.eclipse.debug.internal.ui.viewers.provisional.IColumnEditorFactoryAdapter#getColumnEditorId(org.eclipse.debug.internal.ui.viewers.provisional.IPresentationContext, java.lang.Object)
         */
        public String getColumnEditorId(IPresentationContext context, Object element) {
                IWorkbenchPart part = context.getPart();
                if (part != null) {
                        if (IDebugUIConstants.ID_VARIABLE_VIEW.equals(part.getSite().getId())) {
                                if (element instanceof IJavaVariable) {
                                        return JavaVariableColumnEditor.JAVA_VARIABLE_COLUMN_EDITOR;
                                }
                        }
                }
                return null;
        }


Clone AbstractionParameter Count: 3Parameter Bindings

/* (non-Javadoc)
         * @see org.eclipse.debug.internal.ui.viewers.provisional.IColumnEditorFactoryAdapter#createColumnEditor(org.eclipse.debug.internal.ui.viewers.provisional.IPresentationContext, java.lang.Object)
         */
/* (non-Javadoc)
         * @see org.eclipse.debug.internal.ui.viewers.provisional.IColumnEditorFactoryAdapter#getColumnEditorId(org.eclipse.debug.internal.ui.viewers.provisional.IPresentationContext, java.lang.Object)
         */
public [[#variableb6570da0]]  [[#variableb6570d00]](IPresentationContext context, Object element) {
  IWorkbenchPart part = context.getPart();
  if (part != null) {
    if (IDebugUIConstants.ID_VARIABLE_VIEW.equals(part.getSite().getId())) {
      if (element instanceof IJavaVariable) {
        return [[#variableb6570c40]];
      }
    }
  }
  return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b6570da0]]
IColumnEditor 
12[[#b6570da0]]
String 
21[[#b6570d00]]
createColumnEditor 
22[[#b6570d00]]
getColumnEditorId 
31[[#b6570c40]]
new JavaVariableColumnEditor() 
32[[#b6570c40]]
JavaVariableColumnEditor.JAVA_VARIABLE_COLUMN_EDITOR