CloneSet465


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13930.981class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113211
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ClassInstanceCreation.java
212118
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ConstructorInvocation.java
313291
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodDeclaration.java
412149
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodInvocation.java
512142
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/PackageDeclaration.java
612134
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SuperConstructorInvocation.java
712150
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SuperMethodInvocation.java
812163
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/VariableDeclarationExpression.java
912166
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/VariableDeclarationStatement.java
Clone Instance
1
Line Count
13
Source Line
211
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ClassInstanceCreation.java

        /**
         * Creates a new AST node for a class instance creation expression owned 
         * by the given AST. By default, there is no qualifying expression,
         * an empty list of type parameters, an unspecified type, an empty
     * list of arguments, and does not declare an anonymous class.
         * <p>
         * N.B. This constructor is package-private; all subclasses must be 
         * declared in the same package; clients are unable to declare 
         * additional subclasses.
         * </p>
         * 
         * @param ast the AST that is to own this node
         */
        ClassInstanceCreation (AST ast) {
                super(ast);
                if (ast.apiLevel >= AST.JLS3) {
                        this.typeArguments = new ASTNode.NodeList(TYPE_ARGUMENTS_PROPERTY);
                }
        }

        /* (omit javadoc for this method)
         * Method declared on ASTNode.
         * @since 3.0
         */
        final List internalStructuralPropertiesForType(int apiLevel) {
                return propertyDescriptors(apiLevel);
        }


Clone Instance
2
Line Count
12
Source Line
118
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ConstructorInvocation.java

        /**
         * Creates a new AST node for an alternate constructor invocation statement
         * owned by the given AST. By default, an empty list of arguments.
         * 
         * @param ast the AST that is to own this node
         */
        ConstructorInvocation(AST ast) {
                super(ast);
                if (ast.apiLevel >= AST.JLS3) {
                        this.typeArguments = new ASTNode.NodeList(TYPE_ARGUMENTS_PROPERTY);
                }
        }

        /* (omit javadoc for this method)
         * Method declared on ASTNode.
         */
        final List internalStructuralPropertiesForType(int apiLevel) {
                return propertyDescriptors(apiLevel);
        }


Clone Instance
3
Line Count
13
Source Line
291
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodDeclaration.java

        /**
         * Creates a new AST node for a method declaration owned 
         * by the given AST. By default, the declaration is for a method of an
         * unspecified, but legal, name; no modifiers; no javadoc; no type 
         * parameters; void return type; no parameters; no array dimensions after 
         * the parameters; no thrown exceptions; and no body (as opposed to an
         * empty body).
         * <p>
         * N.B. This constructor is package-private; all subclasses must be 
         * declared in the same package; clients are unable to declare 
         * additional subclasses.
         * </p>
         * 
         * @param ast the AST that is to own this node
         */
        MethodDeclaration(AST ast) {
                super(ast);
                if (ast.apiLevel >= AST.JLS3) {
                        this.typeParameters = new ASTNode.NodeList(TYPE_PARAMETERS_PROPERTY);
                }
        }

        /* (omit javadoc for this method)
         * Method declared on ASTNode.
         * @since 3.0
         */
        final List internalStructuralPropertiesForType(int apiLevel) {
                return propertyDescriptors(apiLevel);
        }


Clone Instance
4
Line Count
12
Source Line
149
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodInvocation.java

        /**
         * Creates a new AST node for a method invocation expression owned by the 
         * given AST. By default, no expression, no type arguments, 
         * an unspecified, but legal, method name, and an empty list of arguments.
         * 
         * @param ast the AST that is to own this node
         */
        MethodInvocation(AST ast) {
                super(ast);
                if (ast.apiLevel >= AST.JLS3) {
                        this.typeArguments = new ASTNode.NodeList(TYPE_ARGUMENTS_PROPERTY);
                }
        }

        /* (omit javadoc for this method)
         * Method declared on ASTNode.
         */
        final List internalStructuralPropertiesForType(int apiLevel) {
                return propertyDescriptors(apiLevel);
        }


Clone Instance
5
Line Count
12
Source Line
142
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/PackageDeclaration.java

        /**
         * Creates a new AST node for a package declaration owned by the
         * given AST. The package declaration initially has an unspecified,
         * but legal, Java identifier; and an empty list of annotations.
         * <p>
         * N.B. This constructor is package-private; all subclasses must be 
         * declared in the same package; clients are unable to declare 
         * additional subclasses.
         * </p>
         * 
         * @param ast the AST that is to own this node
         */
        PackageDeclaration(AST ast) {
                super(ast);
                if (ast.apiLevel >= AST.JLS3) {
                        this.annotations = new ASTNode.NodeList(ANNOTATIONS_PROPERTY);
                }
        }

        /* (omit javadoc for this method)
         * Method declared on ASTNode.
         */
        final List internalStructuralPropertiesForType(int apiLevel) {
                return propertyDescriptors(apiLevel);
        }


Clone Instance
6
Line Count
12
Source Line
134
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SuperConstructorInvocation.java

        /**
         * Creates a new AST node for an super constructor invocation statement
         * owned by the given AST. By default, no type arguments, and an empty list
         * of arguments.
         * 
         * @param ast the AST that is to own this node
         */
        SuperConstructorInvocation(AST ast) {
                super(ast);
                if (ast.apiLevel >= AST.JLS3) {
                        this.typeArguments = new ASTNode.NodeList(TYPE_ARGUMENTS_PROPERTY);
                }
        }

        /* (omit javadoc for this method)
         * Method declared on ASTNode.
         */
        final List internalStructuralPropertiesForType(int apiLevel) {
                return propertyDescriptors(apiLevel);
        }


Clone Instance
7
Line Count
12
Source Line
150
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SuperMethodInvocation.java

        /**
         * Creates a new AST node for a "super" method invocation expression owned
         * by the given AST. By default, no qualifier, no type arguments,
         * an unspecified, but legal, method name, and an empty list of arguments.
         * 
         * @param ast the AST that is to own this node
         */
        SuperMethodInvocation(AST ast) {
                super(ast);
                if (ast.apiLevel >= AST.JLS3) {
                        this.typeArguments = new ASTNode.NodeList(TYPE_ARGUMENTS_PROPERTY);
                }
        }

        /* (omit javadoc for this method)
         * Method declared on ASTNode.
         */
        final List internalStructuralPropertiesForType(int apiLevel) {
                return propertyDescriptors(apiLevel);
        }


Clone Instance
8
Line Count
12
Source Line
163
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/VariableDeclarationExpression.java

        /**
         * Creates a new unparented local variable declaration expression node
         * owned by the given AST.  By default, the variable declaration has: no
         * modifiers, an unspecified (but legal) type, and an empty list of variable
         * declaration fragments (which is syntactically illegal).
         * <p>
         * N.B. This constructor is package-private.
         * </p>
         * 
         * @param ast the AST that is to own this node
         */
        VariableDeclarationExpression(AST ast) {
                super(ast);
                if (ast.apiLevel >= AST.JLS3) {
                        this.modifiers = new ASTNode.NodeList(MODIFIERS2_PROPERTY);
                }
        }

        /* (omit javadoc for this method)
         * Method declared on ASTNode.
         */
        final List internalStructuralPropertiesForType(int apiLevel) {
                return propertyDescriptors(apiLevel);
        }


Clone Instance
9
Line Count
12
Source Line
166
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/VariableDeclarationStatement.java

        /**
         * Creates a new unparented local variable declaration statement node owned 
         * by the given AST.  By default, the variable declaration has: no modifiers,
         * an unspecified (but legal) type, and an empty list of variable 
         * declaration fragments (which is syntactically illegal).
         * <p>
         * N.B. This constructor is package-private.
         * </p>
         * 
         * @param ast the AST that is to own this node
         */
        VariableDeclarationStatement(AST ast) {
                super(ast);
                if (ast.apiLevel >= AST.JLS3) {
                        this.modifiers = new ASTNode.NodeList(MODIFIERS2_PROPERTY);
                }
        }

        /* (omit javadoc for this method)
         * Method declared on ASTNode.
         */
        final List internalStructuralPropertiesForType(int apiLevel) {
                return propertyDescriptors(apiLevel);
        }


Clone AbstractionParameter Count: 3Parameter Bindings

 [[#variablea3103000]](AST ast) {
  super(ast);
  if (ast.apiLevel >= AST.JLS3) {
    this. [[#variable77a8d620]]= new ASTNode.NodeList( [[#variable77a8d600]]);
  }
}

/* (omit javadoc for this method)
         * Method declared on ASTNode.
         * @since 3.0
         */
/* (omit javadoc for this method)
         * Method declared on ASTNode.
         */
final List internalStructuralPropertiesForType(int apiLevel) {
  return propertyDescriptors(apiLevel);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a3103000]]
   /**
    * Creates a new AST node for a class instance creation expression owned 
    * by the given AST. By default, there is no qualifying expression,
    * an empty list of type parameters, an unspecified type, an empty
* list of arguments, and does not declare an anonymous class.
    * <p>
    * N.B. This constructor is package-private; all subclasses must be 
    * declared in the same package; clients are unable to declare 
    * additional subclasses.
    * </p>
    * 
    * @param ast the AST that is to own this node
    */
ClassInstanceCreation 
12[[#a3103000]]
/**
 * Creates a new unparented local variable declaration expression node
 * owned by the given AST.  By default, the variable declaration has: no
 * modifiers, an unspecified (but legal) type, and an empty list of variable
 * declaration fragments (which is syntactically illegal).
 * <p>
 * N.B. This constructor is package-private.
 * </p>
 * 
 * @param ast the AST that is to own this node
 */
VariableDeclarationExpression 
13[[#a3103000]]
/**
 * Creates a new AST node for an super constructor invocation statement
 * owned by the given AST. By default, no type arguments, and an empty list
 * of arguments.
 * 
 * @param ast the AST that is to own this node
 */
SuperConstructorInvocation 
14[[#a3103000]]
/**
 * Creates a new AST node for an alternate constructor invocation statement
 * owned by the given AST. By default, an empty list of arguments.
 * 
 * @param ast the AST that is to own this node
 */
ConstructorInvocation 
15[[#a3103000]]
/**
 * Creates a new AST node for a method invocation expression owned by the 
 * given AST. By default, no expression, no type arguments, 
 * an unspecified, but legal, method name, and an empty list of arguments.
 * 
 * @param ast the AST that is to own this node
 */
MethodInvocation 
16[[#a3103000]]
/**
 * Creates a new AST node for a method declaration owned 
 * by the given AST. By default, the declaration is for a method of an
 * unspecified, but legal, name; no modifiers; no javadoc; no type 
 * parameters; void return type; no parameters; no array dimensions after 
 * the parameters; no thrown exceptions; and no body (as opposed to an
 * empty body).
 * <p>
 * N.B. This constructor is package-private; all subclasses must be 
 * declared in the same package; clients are unable to declare 
 * additional subclasses.
 * </p>
 * 
 * @param ast the AST that is to own this node
 */
MethodDeclaration 
17[[#a3103000]]
/**
 * Creates a new AST node for a package declaration owned by the
 * given AST. The package declaration initially has an unspecified,
 * but legal, Java identifier; and an empty list of annotations.
 * <p>
 * N.B. This constructor is package-private; all subclasses must be 
 * declared in the same package; clients are unable to declare 
 * additional subclasses.
 * </p>
 * 
 * @param ast the AST that is to own this node
 */
PackageDeclaration 
18[[#a3103000]]
/**
 * Creates a new AST node for a "super" method invocation expression owned
 * by the given AST. By default, no qualifier, no type arguments,
 * an unspecified, but legal, method name, and an empty list of arguments.
 * 
 * @param ast the AST that is to own this node
 */
SuperMethodInvocation 
19[[#a3103000]]
/**
 * Creates a new unparented local variable declaration statement node owned 
 * by the given AST.  By default, the variable declaration has: no modifiers,
 * an unspecified (but legal) type, and an empty list of variable 
 * declaration fragments (which is syntactically illegal).
 * <p>
 * N.B. This constructor is package-private.
 * </p>
 * 
 * @param ast the AST that is to own this node
 */
VariableDeclarationStatement 
21[[#77a8d620]]
typeArguments 
22[[#77a8d620]]
modifiers 
23[[#77a8d620]]
typeArguments 
24[[#77a8d620]]
typeArguments 
25[[#77a8d620]]
typeArguments 
26[[#77a8d620]]
typeParameters 
27[[#77a8d620]]
annotations 
28[[#77a8d620]]
typeArguments 
29[[#77a8d620]]
modifiers 
31[[#77a8d600]]
TYPE_ARGUMENTS_PROPERTY 
32[[#77a8d600]]
MODIFIERS2_PROPERTY 
33[[#77a8d600]]
TYPE_ARGUMENTS_PROPERTY 
34[[#77a8d600]]
TYPE_ARGUMENTS_PROPERTY 
35[[#77a8d600]]
TYPE_ARGUMENTS_PROPERTY 
36[[#77a8d600]]
TYPE_PARAMETERS_PROPERTY 
37[[#77a8d600]]
ANNOTATIONS_PROPERTY 
38[[#77a8d600]]
TYPE_ARGUMENTS_PROPERTY 
39[[#77a8d600]]
MODIFIERS2_PROPERTY