CloneSet7091


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.962class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14167
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BodyDeclaration.java
24204
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SingleVariableDeclaration.java
Clone Instance
1
Line Count
4
Source Line
167
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BodyDeclaration.java

        /**
         * Creates a new AST node for a body declaration node owned by the 
         * given AST.
         * <p>
         * N.B. This constructor is package-private.
         * </p>
         * 
         * @param ast the AST that is to own this node
         */
        BodyDeclaration(AST ast) {
                super(ast);
                if (ast.apiLevel >= AST.JLS3) {
                        this.modifiers = new ASTNode.NodeList(internalModifiers2Property());
                }
        }


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

        /**
         * Creates a new AST node for a variable declaration owned by the given 
         * AST. By default, the variable declaration has: no modifiers, an 
         * unspecified (but legal) type, an unspecified (but legal) variable name, 
         * 0 dimensions after the variable; no initializer; not variable arity.
         * <p>
         * N.B. This constructor is package-private.
         * </p>
         * 
         * @param ast the AST that is to own this node
         */
        SingleVariableDeclaration(AST ast) {
                super(ast);
                if (ast.apiLevel >= AST.JLS3) {
                        this.modifiers = new ASTNode.NodeList(MODIFIERS2_PROPERTY);
                }
        }


Clone AbstractionParameter Count: 2Parameter Bindings

 [[#variable55e8b680]](AST ast) {
  super(ast);
  if (ast.apiLevel >= AST.JLS3) {
    this.modifiers = new ASTNode.NodeList( [[#variable55e8b5c0]]);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#55e8b680]]
/**
 * Creates a new AST node for a body declaration node owned by the 
 * given AST.
 * <p>
 * N.B. This constructor is package-private.
 * </p>
 * 
 * @param ast the AST that is to own this node
 */
BodyDeclaration 
12[[#55e8b680]]
/**
 * Creates a new AST node for a variable declaration owned by the given 
 * AST. By default, the variable declaration has: no modifiers, an 
 * unspecified (but legal) type, an unspecified (but legal) variable name, 
 * 0 dimensions after the variable; no initializer; not variable arity.
 * <p>
 * N.B. This constructor is package-private.
 * </p>
 * 
 * @param ast the AST that is to own this node
 */
SingleVariableDeclaration 
21[[#55e8b5c0]]
internalModifiers2Property() 
22[[#55e8b5c0]]
MODIFIERS2_PROPERTY