CloneSet7301


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.960class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15451
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelOperation.java
25484
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelOperation.java
Clone Instance
1
Line Count
5
Source Line
451
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelOperation.java

        /**
         * Returns the element to which this operation applies,
         * or <code>null</code> if not applicable.
         */
        protected IJavaElement getElementToProcess() {
                if (elementsToProcess == null || elementsToProcess.length == 0) {
                        return null;
                }
                return elementsToProcess[0];
        }


Clone Instance
2
Line Count
5
Source Line
484
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelOperation.java

        /**
         * Returns the parent element to which this operation applies,
         * or <code>null</code> if not applicable.
         */
        protected IJavaElement getParentElement() {
                if (parentElements == null || parentElements.length == 0) {
                        return null;
                }
                return parentElements[0];
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * Returns the element to which this operation applies,
         * or <code>null</code> if not applicable.
         */
/**
         * Returns the parent element to which this operation applies,
         * or <code>null</code> if not applicable.
         */
protected IJavaElement  [[#variable579ffb60]]() {
  if ( [[#variable579ffb00]]== null || [[#variable579ffb00]].length == 0) {
    return null;
  }
  return [[#variable579ffb00]][0];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#579ffb60]]
getElementToProcess 
12[[#579ffb60]]
getParentElement 
21[[#579ffb00]]
elementsToProcess 
22[[#579ffb00]]
parentElements