CloneSet5386


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7230.962class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
171268
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AST.java
251518
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AST.java
Clone Instance
1
Line Count
7
Source Line
1268
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AST.java

        /**
         * Creates and returns a new unparented qualified name node for the given 
         * qualifier and simple name child node.
         * 
         * @param qualifier the qualifier name node
         * @param name the simple name being qualified
         * @return a new unparented qualified name node
         * @exception IllegalArgumentException if:
         * <ul>
         * <li>the node belongs to a different AST</li>
         * <li>the node already has a parent</li>
         * </ul>
         */
        public QualifiedName newQualifiedName(
                Name qualifier,
                SimpleName name              ) {
                QualifiedName result = new QualifiedName(this );
                result.setQualifier(qualifier);
                result.setName(name);
                return result;
        }


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

        /**
         * Creates and returns a new unparented qualified type node with 
         * the given qualifier type and name.
         * 
         * @param qualifier the qualifier type node
         * @param name the simple name being qualified
         * @return a new unparented qualified type node
         * @exception IllegalArgumentException if:
         * <ul>
         * <li>the node belongs to a different AST</li>
         * <li>the node already has a parent</li>
         * </ul>
         * @exception UnsupportedOperationException if this operation is used in
         * a JLS2 AST
         * @since 3.1
         */
        public QualifiedType newQualifiedType(Type qualifier, SimpleName name) {
                QualifiedType result = new QualifiedType(this );
                result.setQualifier(qualifier);
                result.setName(name);
                return result;
        }


Clone AbstractionParameter Count: 3Parameter Bindings

/**
         * Creates and returns a new unparented qualified name node for the given 
         * qualifier and simple name child node.
         * 
         * @param qualifier the qualifier name node
         * @param name the simple name being qualified
         * @return a new unparented qualified name node
         * @exception IllegalArgumentException if:
         * <ul>
         * <li>the node belongs to a different AST</li>
         * <li>the node already has a parent</li>
         * </ul>
         */
/**
         * Creates and returns a new unparented qualified type node with 
         * the given qualifier type and name.
         * 
         * @param qualifier the qualifier type node
         * @param name the simple name being qualified
         * @return a new unparented qualified type node
         * @exception IllegalArgumentException if:
         * <ul>
         * <li>the node belongs to a different AST</li>
         * <li>the node already has a parent</li>
         * </ul>
         * @exception UnsupportedOperationException if this operation is used in
         * a JLS2 AST
         * @since 3.1
         */
public [[#variablea52d69a0]]  [[#variablea52d6920]]( [[#variablea52d6820]] qualifier, SimpleName name) {
   [[#variablea52d69a0]] result = new [[#variablea52d69a0]](this );
  result.setQualifier(qualifier);
  result.setName(name);
  return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a52d69a0]]
QualifiedName 
12[[#a52d69a0]]
QualifiedType 
21[[#a52d6920]]
newQualifiedName 
22[[#a52d6920]]
newQualifiedType 
31[[#a52d6820]]
Name 
32[[#a52d6820]]
Type