CloneSet3619


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5410.978class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15423
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTMatcher.java
25722
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTMatcher.java
351167
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTMatcher.java
451452
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTMatcher.java
Clone Instance
1
Line Count
5
Source Line
423
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTMatcher.java

        /**
         * Returns whether the given node and the other object match.
         * <p>
         * The default implementation provided by this class tests whether the
         * other object is a node of the same type. Subclasses may override
         * this method as needed.
         * </p>
         * <p>Note: {@link LineComment} and {@link BlockComment} nodes are
         * not considered part of main structure of the AST. This method will
         * only be called if a client goes out of their way to visit this
         * kind of node explicitly.
         * </p>
         * 
         * @param node the node
         * @param other the other object, or <code>null</code>
         * @return <code>true</code> if the subtree matches, or 
         *   <code>false</code> if they do not match or the other object has a
         *   different node type or is <code>null</code>
         * @since 3.0
         */
        public boolean match(BlockComment node, Object other) {
                if ( !(other instanceof BlockComment)) {
                        return false;
                }
                return true;
        }


Clone Instance
2
Line Count
5
Source Line
722
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTMatcher.java

        /**
         * Returns whether the given node and the other object match.
         * <p>
         * The default implementation provided by this class tests whether the
         * other object is a node of the same type with structurally isomorphic
         * child subtrees. Subclasses may override this method as needed.
         * </p>
         * 
         * @param node the node
         * @param other the other object, or <code>null</code>
         * @return <code>true</code> if the subtree matches, or 
         *   <code>false</code> if they do not match or the other object has a
         *   different node type or is <code>null</code>
         */
        public boolean match(EmptyStatement node, Object other) {
                if ( !(other instanceof EmptyStatement)) {
                        return false;
                }
                return true;
        }


Clone Instance
3
Line Count
5
Source Line
1167
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTMatcher.java

        /**
         * Returns whether the given node and the other object match.
         * <p>
         * The default implementation provided by this class tests whether the
         * other object is a node of the same type. Subclasses may override
         * this method as needed.
         * </p>
         * <p>Note: {@link LineComment} and {@link BlockComment} nodes are
         * not considered part of main structure of the AST. This method will
         * only be called if a client goes out of their way to visit this
         * kind of node explicitly.
         * </p>
         * 
         * @param node the node
         * @param other the other object, or <code>null</code>
         * @return <code>true</code> if the subtree matches, or 
         *   <code>false</code> if they do not match or the other object has a
         *   different node type or is <code>null</code>
         * @since 3.0
         */
        public boolean match(LineComment node, Object other) {
                if ( !(other instanceof LineComment)) {
                        return false;
                }
                return true;
        }


Clone Instance
4
Line Count
5
Source Line
1452
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTMatcher.java

        /**
         * Returns whether the given node and the other object match.
         * <p>
         * The default implementation provided by this class tests whether the
         * other object is a node of the same type with structurally isomorphic
         * child subtrees. Subclasses may override this method as needed.
         * </p>
         * 
         * @param node the node
         * @param other the other object, or <code>null</code>
         * @return <code>true</code> if the subtree matches, or 
         *   <code>false</code> if they do not match or the other object has a
         *   different node type or is <code>null</code>
         */
        public boolean match(NullLiteral node, Object other) {
                if ( !(other instanceof NullLiteral)) {
                        return false;
                }
                return true;
        }


Clone AbstractionParameter Count: 1Parameter Bindings

/**
         * Returns whether the given node and the other object match.
         * <p>
         * The default implementation provided by this class tests whether the
         * other object is a node of the same type. Subclasses may override
         * this method as needed.
         * </p>
         * <p>Note: {@link LineComment} and {@link BlockComment} nodes are
         * not considered part of main structure of the AST. This method will
         * only be called if a client goes out of their way to visit this
         * kind of node explicitly.
         * </p>
         * 
         * @param node the node
         * @param other the other object, or <code>null</code>
         * @return <code>true</code> if the subtree matches, or 
         *   <code>false</code> if they do not match or the other object has a
         *   different node type or is <code>null</code>
         * @since 3.0
         */
/**
         * Returns whether the given node and the other object match.
         * <p>
         * The default implementation provided by this class tests whether the
         * other object is a node of the same type with structurally isomorphic
         * child subtrees. Subclasses may override this method as needed.
         * </p>
         * 
         * @param node the node
         * @param other the other object, or <code>null</code>
         * @return <code>true</code> if the subtree matches, or 
         *   <code>false</code> if they do not match or the other object has a
         *   different node type or is <code>null</code>
         */
public boolean match( [[#variable9a1eb980]] node, Object other) {
  if ( !(other instanceof [[#variable9a1eb980]])) {
    return false;
  }
  return true;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9a1eb980]]
BlockComment 
12[[#9a1eb980]]
EmptyStatement 
13[[#9a1eb980]]
LineComment 
14[[#9a1eb980]]
NullLiteral