Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 2 | 0.976 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 54 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/AbstractCleanUp.java |
2 | 10 | 532 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CleanUpRefactoringWizard.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; } |
| ||||
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; } |
| |||
[[#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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#937a79e0]] | /** * {@inheritDoc} */ public |
1 | 2 | [[#937a79e0]] | private |
2 | 1 | [[#937a7b40]] | fFlags |
2 | 2 | [[#937a7b40]] | fUIFlags |