Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 2 | 4 | 0.957 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 164 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/Annotation.java |
2 | 19 | 281 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/FieldAccess.java |
| ||||
/* (omit javadoc for this method) * Method declared on ASTNode. */ int memSize() { return BASE_NODE_SIZE + 1 * 4; } /** * Resolves and returns the resolved annotation for this annotation. * <p> * Note that bindings (which includes resolved annotations) are generally unavailable unless * requested when the AST is being built. * </p> * * @return the resolved annotation, or <code>null</code> if the annotation cannot be resolved * @since 3.2 */ public IAnnotationBinding resolveAnnotationBinding() { return this.ast.getBindingResolver().resolveAnnotation(this ); } |
| ||||
/* (omit javadoc for this method) * Method declared on ASTNode. */ int memSize() { // treat Code as free return BASE_NODE_SIZE + 2 * 4; } /** * Resolves and returns the binding for the field accessed by this * expression. * <p> * Note that bindings are generally unavailable unless requested when the * AST is being built. * </p> * * @return the variable binding, or <code>null</code> if the binding cannot * be resolved * @since 3.0 */ public IVariableBinding resolveFieldBinding() { return this.ast.getBindingResolver().resolveField(this ); } |
| |||
/* (omit javadoc for this method) * Method declared on ASTNode. */ int memSize() { // treat Code as free return BASE_NODE_SIZE + [[#variable5aa66aa0]] * 4; } /** * Resolves and returns the resolved annotation for this annotation. * <p> * Note that bindings (which includes resolved annotations) are generally unavailable unless * requested when the AST is being built. * </p> * * @return the resolved annotation, or <code>null</code> if the annotation cannot be resolved * @since 3.2 */ /** * Resolves and returns the binding for the field accessed by this * expression. * <p> * Note that bindings are generally unavailable unless requested when the * AST is being built. * </p> * * @return the variable binding, or <code>null</code> if the binding cannot * be resolved * @since 3.0 */ public [[#variable5aa66b40]] [[#variable5aa66260]]() { return this.ast.getBindingResolver(). [[#variable5aa662a0]](this ); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5aa66aa0]] | 1 |
1 | 2 | [[#5aa66aa0]] | 2 |
2 | 1 | [[#5aa66b40]] | IAnnotationBinding |
2 | 2 | [[#5aa66b40]] | IVariableBinding |
3 | 1 | [[#5aa66260]] | resolveAnnotationBinding |
3 | 2 | [[#5aa66260]] | resolveFieldBinding |
4 | 1 | [[#5aa662a0]] | resolveAnnotation |
4 | 2 | [[#5aa662a0]] | resolveField |