CloneSet2991


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13220.976class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11354
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/AbstractCleanUp.java
210532
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CleanUpRefactoringWizard.java
Clone Instance
1
Line Count
13
Source Line
54
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/AbstractCleanUp.java

        /**
         * {@inheritDoc}
         */
        public void setFlag(int flag, boolean b) {
                if ( !isFlag(flag) && b) {
                        fFlags |= flag;
                }
                else   if (isFlag(flag) && !b) {
                        fFlags &= ~flag;
                       }
        }

        /**
         * {@inheritDoc}
         */
        public boolean isFlag(int flag) {
                return (fFlags&  flag) != 0;
        }


Clone Instance
2
Line Count
10
Source Line
532
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CleanUpRefactoringWizard.java

                        private void setFlag(int flag, boolean b) {
                                if ( !isFlag(flag) && b) {
                                        fUIFlags |= flag;
                                }
                                else   if (isFlag(flag) && !b) {
                                        fUIFlags &= ~flag;
                                       }
                        }

                        private boolean isFlag(int flag) {
                                return (fUIFlags&  flag) != 0;
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

 [[#variable937a79e0]]void setFlag(int flag, boolean b) {
  if ( !isFlag(flag) && b) {
     [[#variable937a7b40]]|= flag;
  }
  else
    if (isFlag(flag) && !b) {
       [[#variable937a7b40]]&= ~flag;
    }
}

 [[#variable937a79e0]]boolean isFlag(int flag) {
  return ( [[#variable937a7b40]]&flag) != 0;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#937a79e0]]
/**
 * {@inheritDoc}
 */
public 
12[[#937a79e0]]
private 
21[[#937a7b40]]
fFlags 
22[[#937a7b40]]
fUIFlags