CloneSet7699


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9240.957class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19150
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringElementFilterDescriptor.java
29129
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavaEditorTextHoverDescriptor.java
Clone Instance
1
Line Count
9
Source Line
150
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringElementFilterDescriptor.java

        /**
         * @return the filter class
         */
        public String getFilterClass() {
                return fElement.getAttribute(CLASS_ATTRIBUTE);
        }

        /*
         * @see org.eclipse.ui.IPluginContribution#getLocalId()
         */
        public String getLocalId() {
                return fElement.getAttribute(ID_ATTRIBUTE);
        }


Clone Instance
2
Line Count
9
Source Line
129
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavaEditorTextHoverDescriptor.java

        //---- XML Attribute accessors ---------------------------------------------
        /**
         * Returns the hover's id.
         */
        public String getId() {
                        return fElement.getAttribute(ID_ATTRIBUTE);
        }

        /**
         * Returns the hover's class name.
         */
        public String getHoverClassName() {
                return fElement.getAttribute(CLASS_ATTRIBUTE);
        }


Clone AbstractionParameter Count: 4Parameter Bindings

//---- XML Attribute accessors ---------------------------------------------
/**
         * Returns the hover's id.
         */
/**
         * @return the filter class
         */
public String  [[#variable5ab785c0]]() {
  return fElement.getAttribute( [[#variable5aa67c20]]);
}

/**
         * Returns the hover's class name.
         */
/*
         * @see org.eclipse.ui.IPluginContribution#getLocalId()
         */
public String  [[#variable5ab79040]]() {
  return fElement.getAttribute( [[#variable5ab79060]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5ab785c0]]
getId 
12[[#5ab785c0]]
getFilterClass 
21[[#5aa67c20]]
ID_ATTRIBUTE 
22[[#5aa67c20]]
CLASS_ATTRIBUTE 
31[[#5ab79040]]
getHoverClassName 
32[[#5ab79040]]
getLocalId 
41[[#5ab79060]]
CLASS_ATTRIBUTE 
42[[#5ab79060]]
ID_ATTRIBUTE