CloneSet1954


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
19210.996class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
119309
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodDeclaration.java
219245
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SingleVariableDeclaration.java
Clone Instance
1
Line Count
19
Source Line
309
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodDeclaration.java

        /* (omit javadoc for this method)
         * Method declared on ASTNode.
         */
        final int internalGetSetIntProperty(SimplePropertyDescriptor property, boolean get, int value) {
                if (property == MODIFIERS_PROPERTY) {
                        if (get) {
                                return getModifiers();
                        }
                        else   {
                                internalSetModifiers(value);
                                return 0;
                        }
                }
                if (property == EXTRA_DIMENSIONS_PROPERTY) {
                        if (get) {
                                return getExtraDimensions();
                        }
                        else   {
                                setExtraDimensions(value);
                                return 0;
                        }
                }
                // allow default implementation to flag the error
                return super.internalGetSetIntProperty(property, get, value);
        }


Clone Instance
2
Line Count
19
Source Line
245
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SingleVariableDeclaration.java

        /* (omit javadoc for this method)
         * Method declared on ASTNode.
         */
        final int internalGetSetIntProperty(SimplePropertyDescriptor property, boolean get, int value) {
                if (property == MODIFIERS_PROPERTY) {
                        if (get) {
                                return getModifiers();
                        }
                        else   {
                                setModifiers(value);
                                return 0;
                        }
                }
                if (property == EXTRA_DIMENSIONS_PROPERTY) {
                        if (get) {
                                return getExtraDimensions();
                        }
                        else   {
                                setExtraDimensions(value);
                                return 0;
                        }
                }
                // allow default implementation to flag the error
                return super.internalGetSetIntProperty(property, get, value);
        }


Clone AbstractionParameter Count: 1Parameter Bindings

/* (omit javadoc for this method)
         * Method declared on ASTNode.
         */
final int internalGetSetIntProperty(SimplePropertyDescriptor property, boolean get, int value) {
  if (property == MODIFIERS_PROPERTY) {
    if (get) {
      return getModifiers();
    }
    else {
       [[#variable951ac660]](value);
      return 0;
    }
  }
  if (property == EXTRA_DIMENSIONS_PROPERTY) {
    if (get) {
      return getExtraDimensions();
    }
    else {
      setExtraDimensions(value);
      return 0;
    }
  }
  // allow default implementation to flag the error
  return super.internalGetSetIntProperty(property, get, value);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#951ac660]]
setModifiers 
12[[#951ac660]]
internalSetModifiers