Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
26 | 4 | 3 | 0.976 | class_body_declarations[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 25 | 214 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ConstructorInvocation.java |
2 | 26 | 343 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodInvocation.java |
3 | 25 | 280 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SuperConstructorInvocation.java |
4 | 26 | 342 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SuperMethodInvocation.java |
| ||||
/** * Returns the live ordered list of argument expressions in this alternate * constructor invocation statement. * * @return the live list of argument expressions * (element type: <code>Expression</code>) */ public List arguments() { return this.arguments; } /** * Resolves and returns the binding for the constructor invoked by this * expression. * <p> * Note that bindings are generally unavailable unless requested when the * AST is being built. * </p> * * @return the constructor binding, or <code>null</code> if the binding * cannot be resolved */ public IMethodBinding resolveConstructorBinding() { return this.ast.getBindingResolver().resolveConstructor(this ); } /* (omit javadoc for this method) * Method declared on ASTNode. */ int memSize() { // treat Code as free return BASE_NODE_SIZE + 2 * 4; } |
| ||||
/** * Returns the live ordered list of argument expressions in this method * invocation expression. * * @return the live list of argument expressions * (element type: <code>Expression</code>) */ public List arguments() { return this.arguments; } /** * Resolves and returns the binding for the method invoked by this * expression. * <p> * Note that bindings are generally unavailable unless requested when the * AST is being built. * </p> * * @return the method binding, or <code>null</code> if the binding cannot * be resolved * @since 2.1 */ public IMethodBinding resolveMethodBinding() { return this.ast.getBindingResolver().resolveMethod(this ); } /* (omit javadoc for this method) * Method declared on ASTNode. */ int memSize() { // treat Code as free return BASE_NODE_SIZE + 4 * 4; } |
| ||||
/** * Returns the live ordered list of argument expressions in this super * constructor invocation statement. * * @return the live list of argument expressions * (element type: <code>Expression</code>) */ public List arguments() { return this.arguments; } /** * Resolves and returns the binding for the constructor invoked by this * expression. * <p> * Note that bindings are generally unavailable unless requested when the * AST is being built. * </p> * * @return the constructor binding, or <code>null</code> if the binding * cannot be resolved */ public IMethodBinding resolveConstructorBinding() { return this.ast.getBindingResolver().resolveConstructor(this ); } /* (omit javadoc for this method) * Method declared on ASTNode. */ int memSize() { // treat Code as free return BASE_NODE_SIZE + 3 * 4; } |
| ||||
/** * Returns the live ordered list of argument expressions in this * "super" method invocation expression. * * @return the live list of argument expressions * (element type: <code>Expression</code>) */ public List arguments() { return this.arguments; } /** * Resolves and returns the binding for the method invoked by this * expression. * <p> * Note that bindings are generally unavailable unless requested when the * AST is being built. * </p> * * @return the method binding, or <code>null</code> if the binding cannot * be resolved * @since 2.1 */ public IMethodBinding resolveMethodBinding() { return this.ast.getBindingResolver().resolveMethod(this ); } /* (omit javadoc for this method) * Method declared on ASTNode. */ int memSize() { // treat Code as free return BASE_NODE_SIZE + 4 * 4; } |
| |||
/** * Returns the live ordered list of argument expressions in this * "super" method invocation expression. * * @return the live list of argument expressions * (element type: <code>Expression</code>) */ /** * Returns the live ordered list of argument expressions in this super * constructor invocation statement. * * @return the live list of argument expressions * (element type: <code>Expression</code>) */ /** * Returns the live ordered list of argument expressions in this alternate * constructor invocation statement. * * @return the live list of argument expressions * (element type: <code>Expression</code>) */ /** * Returns the live ordered list of argument expressions in this method * invocation expression. * * @return the live list of argument expressions * (element type: <code>Expression</code>) */ public List arguments() { return this.arguments; } /** * Resolves and returns the binding for the method invoked by this * expression. * <p> * Note that bindings are generally unavailable unless requested when the * AST is being built. * </p> * * @return the method binding, or <code>null</code> if the binding cannot * be resolved * @since 2.1 */ /** * Resolves and returns the binding for the constructor invoked by this * expression. * <p> * Note that bindings are generally unavailable unless requested when the * AST is being built. * </p> * * @return the constructor binding, or <code>null</code> if the binding * cannot be resolved */ public IMethodBinding [[#variable57c03c20]]() { return this.ast.getBindingResolver(). [[#variable57c03b80]](this ); } /* (omit javadoc for this method) * Method declared on ASTNode. */ int memSize() { // treat Code as free return BASE_NODE_SIZE + [[#variable57c03b60]] * 4; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#57c03c20]] | resolveMethodBinding |
1 | 2 | [[#57c03c20]] | resolveConstructorBinding |
1 | 3 | [[#57c03c20]] | resolveConstructorBinding |
1 | 4 | [[#57c03c20]] | resolveMethodBinding |
2 | 1 | [[#57c03b80]] | resolveMethod |
2 | 2 | [[#57c03b80]] | resolveConstructor |
2 | 3 | [[#57c03b80]] | resolveConstructor |
2 | 4 | [[#57c03b80]] | resolveMethod |
3 | 1 | [[#57c03b60]] | 4 |
3 | 2 | [[#57c03b60]] | 3 |
3 | 3 | [[#57c03b60]] | 2 |
3 | 4 | [[#57c03b60]] | 4 |