CloneSet3861


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6220.989class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16351
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeConstraintsModel.java
26368
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeConstraintsModel.java
Clone Instance
1
Line Count
6
Source Line
351
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeConstraintsModel.java

        /**
         * Creates an immutable type variable.
         * 
         * @param type the type binding
         * @return the created plain type variable
         */
        public final ConstraintVariable2 createImmutableTypeVariable(ITypeBinding type) {
                if (type.isArray())
                        type = type.getElementType();
                if (isConstrainedType(type))
                        return (ConstraintVariable2) fConstraintVariables.addExisting(new ImmutableTypeVariable2(createTType(type)));
                return null;
        }


Clone Instance
2
Line Count
6
Source Line
368
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeConstraintsModel.java

        /**
         * Creates an independent type variable.
         * <p>
         * An independant type variable stands for an arbitrary type.
         * </p>
         * 
         * @param type the type binding
         * @return the created independant type variable
         */
        public final ConstraintVariable2 createIndependentTypeVariable(ITypeBinding type) {
                if (type.isArray())
                        type = type.getElementType();
                if (isConstrainedType(type))
                        return (ConstraintVariable2) fConstraintVariables.addExisting(new IndependentTypeVariable2(createTType(type)));
                return null;
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * Creates an immutable type variable.
         * 
         * @param type the type binding
         * @return the created plain type variable
         */
/**
         * Creates an independent type variable.
         * <p>
         * An independant type variable stands for an arbitrary type.
         * </p>
         * 
         * @param type the type binding
         * @return the created independant type variable
         */
public final ConstraintVariable2  [[#variable92f96240]](ITypeBinding type) {
  if (type.isArray())
    type = type.getElementType();
  if (isConstrainedType(type))
    return (ConstraintVariable2) fConstraintVariables.addExisting(new [[#variable92f961c0]](createTType(type)));
  return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#92f96240]]
createImmutableTypeVariable 
12[[#92f96240]]
createIndependentTypeVariable 
21[[#92f961c0]]
ImmutableTypeVariable2 
22[[#92f961c0]]
IndependentTypeVariable2