CloneSet2056


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
29260.978class_body_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
129181
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/EnumDeclaration.java
229397
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodDeclaration.java
Clone Instance
1
Line Count
29
Source Line
181
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/EnumDeclaration.java

        /* (omit javadoc for this method)
         * Method declared on ASTNode.
         */
        final List internalGetChildListProperty(ChildListPropertyDescriptor property) {
                if (property == MODIFIERS2_PROPERTY) {
                        return modifiers();
                }
                if (property == SUPER_INTERFACE_TYPES_PROPERTY) {
                        return superInterfaceTypes();
                }
                if (property == ENUM_CONSTANTS_PROPERTY) {
                        return enumConstants();
                }
                if (property == BODY_DECLARATIONS_PROPERTY) {
                        return bodyDeclarations();
                }
                // allow default implementation to flag the error
                return super.internalGetChildListProperty(property);
        }

        /* (omit javadoc for this method)
         * Method declared on BodyDeclaration.
         */
        final ChildPropertyDescriptor internalJavadocProperty() {
                return JAVADOC_PROPERTY;
        }

        /* (omit javadoc for this method)
         * Method declared on BodyDeclaration.
         */
        final ChildListPropertyDescriptor internalModifiers2Property() {
                return MODIFIERS2_PROPERTY;
        }


Clone Instance
2
Line Count
29
Source Line
397
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 List internalGetChildListProperty(ChildListPropertyDescriptor property) {
                if (property == MODIFIERS2_PROPERTY) {
                        return modifiers();
                }
                if (property == TYPE_PARAMETERS_PROPERTY) {
                        return typeParameters();
                }
                if (property == PARAMETERS_PROPERTY) {
                        return parameters();
                }
                if (property == THROWN_EXCEPTIONS_PROPERTY) {
                        return thrownExceptions();
                }
                // allow default implementation to flag the error
                return super.internalGetChildListProperty(property);
        }

        /* (omit javadoc for this method)
         * Method declared on BodyDeclaration.
         */
        final ChildPropertyDescriptor internalJavadocProperty() {
                return JAVADOC_PROPERTY;
        }

        /* (omit javadoc for this method)
         * Method declared on BodyDeclaration.
         */
        final ChildListPropertyDescriptor internalModifiers2Property() {
                return MODIFIERS2_PROPERTY;
        }


Clone AbstractionParameter Count: 6Parameter Bindings

/* (omit javadoc for this method)
         * Method declared on ASTNode.
         */
final List internalGetChildListProperty(ChildListPropertyDescriptor property) {
  if (property == MODIFIERS2_PROPERTY) {
    return modifiers();
  }
  if (property == [[#variable951799c0]]) {
    return [[#variable95179960]]();
  }
  if (property == [[#variable95179900]]) {
    return [[#variable95179800]]();
  }
  if (property == [[#variable54e3e9a0]]) {
    return [[#variable94ddd000]]();
  }
  // allow default implementation to flag the error
  return super.internalGetChildListProperty(property);
}

/* (omit javadoc for this method)
         * Method declared on BodyDeclaration.
         */
final ChildPropertyDescriptor internalJavadocProperty() {
  return JAVADOC_PROPERTY;
}

/* (omit javadoc for this method)
         * Method declared on BodyDeclaration.
         */
final ChildListPropertyDescriptor internalModifiers2Property() {
  return MODIFIERS2_PROPERTY;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#951799c0]]
SUPER_INTERFACE_TYPES_PROPERTY 
12[[#951799c0]]
TYPE_PARAMETERS_PROPERTY 
21[[#95179960]]
superInterfaceTypes 
22[[#95179960]]
typeParameters 
31[[#95179900]]
ENUM_CONSTANTS_PROPERTY 
32[[#95179900]]
PARAMETERS_PROPERTY 
41[[#95179800]]
enumConstants 
42[[#95179800]]
parameters 
51[[#54e3e9a0]]
BODY_DECLARATIONS_PROPERTY 
52[[#54e3e9a0]]
THROWN_EXCEPTIONS_PROPERTY 
61[[#94ddd000]]
bodyDeclarations 
62[[#94ddd000]]
thrownExceptions