CloneSet282


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
24201.000statement_sequence[13]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12485
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ASTBasedDeclarationImpl.java
22461
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/DeclarationImpl.java
Clone Instance
1
Line Count
24
Source Line
85
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ASTBasedDeclarationImpl.java

                final List<Modifier> mods = new ArrayList<Modifier>(4);
        if (org.eclipse.jdt.core.dom.Modifier.isAbstract(modBits))
                mods.add(Modifier.ABSTRACT);
        if (org.eclipse.jdt.core.dom.Modifier.isFinal(modBits))
                mods.add(Modifier.FINAL);
        if (org.eclipse.jdt.core.dom.Modifier.isNative(modBits))
                mods.add(Modifier.NATIVE);
        if (org.eclipse.jdt.core.dom.Modifier.isPrivate(modBits))
                mods.add(Modifier.PRIVATE);
        if (org.eclipse.jdt.core.dom.Modifier.isProtected(modBits))
                mods.add(Modifier.PROTECTED);
        if (org.eclipse.jdt.core.dom.Modifier.isPublic(modBits))
                mods.add(Modifier.PUBLIC);
        if (org.eclipse.jdt.core.dom.Modifier.isStatic(modBits))
                mods.add(Modifier.STATIC);
        if (org.eclipse.jdt.core.dom.Modifier.isStrictfp(modBits))
                mods.add(Modifier.STRICTFP);
        if (org.eclipse.jdt.core.dom.Modifier.isSynchronized(modBits))
                mods.add(Modifier.SYNCHRONIZED);
        if (org.eclipse.jdt.core.dom.Modifier.isTransient(modBits))
                mods.add(Modifier.TRANSIENT);
        if (org.eclipse.jdt.core.dom.Modifier.isVolatile(modBits))
                mods.add(Modifier.VOLATILE);
        return mods;


Clone Instance
2
Line Count
24
Source Line
61
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/DeclarationImpl.java

        final List<Modifier> mods = new ArrayList<Modifier>(4);
        if (org.eclipse.jdt.core.dom.Modifier.isAbstract(modBits))
                mods.add(Modifier.ABSTRACT);
        if (org.eclipse.jdt.core.dom.Modifier.isFinal(modBits))
                mods.add(Modifier.FINAL);
        if (org.eclipse.jdt.core.dom.Modifier.isNative(modBits))
                mods.add(Modifier.NATIVE);
        if (org.eclipse.jdt.core.dom.Modifier.isPrivate(modBits))
                mods.add(Modifier.PRIVATE);
        if (org.eclipse.jdt.core.dom.Modifier.isProtected(modBits))
                mods.add(Modifier.PROTECTED);
        if (org.eclipse.jdt.core.dom.Modifier.isPublic(modBits))
                mods.add(Modifier.PUBLIC);
        if (org.eclipse.jdt.core.dom.Modifier.isStatic(modBits))
                mods.add(Modifier.STATIC);
        if (org.eclipse.jdt.core.dom.Modifier.isStrictfp(modBits))
                mods.add(Modifier.STRICTFP);
        if (org.eclipse.jdt.core.dom.Modifier.isSynchronized(modBits))
                mods.add(Modifier.SYNCHRONIZED);
        if (org.eclipse.jdt.core.dom.Modifier.isTransient(modBits))
                mods.add(Modifier.TRANSIENT);
        if (org.eclipse.jdt.core.dom.Modifier.isVolatile(modBits))
                mods.add(Modifier.VOLATILE);
        return mods;


Clone AbstractionParameter Count: 0Parameter Bindings

final List<Modifier> mods = new ArrayList<Modifier>(4);
if (org.eclipse.jdt.core.dom.Modifier.isAbstract(modBits))
  mods.add(Modifier.ABSTRACT);
if (org.eclipse.jdt.core.dom.Modifier.isFinal(modBits))
  mods.add(Modifier.FINAL);
if (org.eclipse.jdt.core.dom.Modifier.isNative(modBits))
  mods.add(Modifier.NATIVE);
if (org.eclipse.jdt.core.dom.Modifier.isPrivate(modBits))
  mods.add(Modifier.PRIVATE);
if (org.eclipse.jdt.core.dom.Modifier.isProtected(modBits))
  mods.add(Modifier.PROTECTED);
if (org.eclipse.jdt.core.dom.Modifier.isPublic(modBits))
  mods.add(Modifier.PUBLIC);
if (org.eclipse.jdt.core.dom.Modifier.isStatic(modBits))
  mods.add(Modifier.STATIC);
if (org.eclipse.jdt.core.dom.Modifier.isStrictfp(modBits))
  mods.add(Modifier.STRICTFP);
if (org.eclipse.jdt.core.dom.Modifier.isSynchronized(modBits))
  mods.add(Modifier.SYNCHRONIZED);
if (org.eclipse.jdt.core.dom.Modifier.isTransient(modBits))
  mods.add(Modifier.TRANSIENT);
if (org.eclipse.jdt.core.dom.Modifier.isVolatile(modBits))
  mods.add(Modifier.VOLATILE);
return mods;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None