CloneSet2189


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6210.996class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16193
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/FullConstraintCreator.java
26399
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/FullConstraintCreator.java
Clone Instance
1
Line Count
6
Source Line
193
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/FullConstraintCreator.java

        /* (non-Javadoc)
         * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(org.eclipse.jdt.core.dom.ConstructorInvocation)
         */
        public ITypeConstraint[] create(ConstructorInvocation invocation) {
                List arguments = invocation.arguments();
                List result = new ArrayList(arguments.size());
                IMethodBinding methodBinding = invocation.resolveConstructorBinding();
                result.addAll(Arrays.asList(getArgumentConstraints(arguments, methodBinding)));
                return (ITypeConstraint[]) result.toArray(new ITypeConstraint[result.size()]);
        }


Clone Instance
2
Line Count
6
Source Line
399
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/FullConstraintCreator.java

        /* (non-Javadoc)
         * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(org.eclipse.jdt.core.dom.SuperConstructorInvocation)
         */
        public ITypeConstraint[] create(SuperConstructorInvocation invocation) {
                List arguments = invocation.arguments();
                List result = new ArrayList(arguments.size());
                IMethodBinding methodBinding = invocation.resolveConstructorBinding();
                result.addAll(Arrays.asList(getArgumentConstraints(arguments, methodBinding)));
                return (ITypeConstraint[]) result.toArray(new ITypeConstraint[result.size()]);
        }


Clone AbstractionParameter Count: 1Parameter Bindings

/* (non-Javadoc)
         * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(org.eclipse.jdt.core.dom.ConstructorInvocation)
         */
/* (non-Javadoc)
         * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(org.eclipse.jdt.core.dom.SuperConstructorInvocation)
         */
public ITypeConstraint[] create( [[#variable55db2b80]] invocation) {
  List arguments = invocation.arguments();
  List result = new ArrayList(arguments.size());
  IMethodBinding methodBinding = invocation.resolveConstructorBinding();
  result.addAll(Arrays.asList(getArgumentConstraints(arguments, methodBinding)));
  return (ITypeConstraint[]) result.toArray(new ITypeConstraint[result.size()]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#55db2b80]]
ConstructorInvocation 
12[[#55db2b80]]
SuperConstructorInvocation