CloneSet7688


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16240.957class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116164
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/Annotation.java
219281
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/FieldAccess.java
Clone Instance
1
Line Count
16
Source Line
164
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/Annotation.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 );
        }


Clone Instance
2
Line Count
19
Source Line
281
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/FieldAccess.java

        /* (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 );
        }


Clone AbstractionParameter Count: 4Parameter Bindings

/* (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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5aa66aa0]]
1 
12[[#5aa66aa0]]
2 
21[[#5aa66b40]]
IAnnotationBinding 
22[[#5aa66b40]]
IVariableBinding 
31[[#5aa66260]]
resolveAnnotationBinding 
32[[#5aa66260]]
resolveFieldBinding 
41[[#5aa662a0]]
resolveAnnotation 
42[[#5aa662a0]]
resolveField