CloneSet3968


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12330.965class_body_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11243
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/AnnotationDeclarationImpl.java
21161
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/EnumDeclarationImpl.java
31243
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/InterfaceDeclarationImpl.java
Clone Instance
1
Line Count
12
Source Line
43
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/AnnotationDeclarationImpl.java

    // start of implementation of AnnotationType API
    public void accept(TypeVisitor visitor)
    {
        visitor.visitAnnotationType(this );
    }

    public AnnotationTypeDeclaration getDeclaration()
    {
        return (AnnotationTypeDeclaration) super.getDeclaration();
    }

    // end of implementation of AnnotationType API
    public MirrorKind kind() {
                              return MirrorKind.TYPE_ANNOTATION;
    }


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

    // start of implementation of EnumType API
    // end of implementation of EnumType API
    public void accept(TypeVisitor visitor)
    {
        visitor.visitEnumType(this );
    }

    public EnumDeclaration getDeclaration()
    {
        return (EnumDeclaration) super.getDeclaration();
    }

    public MirrorKind kind() {
                              return MirrorKind.TYPE_ENUM;
    }


Clone Instance
3
Line Count
12
Source Line
43
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/InterfaceDeclarationImpl.java

    // start of implementation of InterfaceType API
    public void accept(TypeVisitor visitor)
    {
        visitor.visitInterfaceType(this );
    }

    public InterfaceDeclaration getDeclaration()
    {
        return (InterfaceDeclaration) super.getDeclaration();
    }

    // end of implementation of InterfaceType API
    public MirrorKind kind() {
                              return MirrorKind.TYPE_INTERFACE;
    }


Clone AbstractionParameter Count: 3Parameter Bindings

// start of implementation of AnnotationType API
// start of implementation of InterfaceType API
// start of implementation of EnumType API
// end of implementation of EnumType API
public void accept(TypeVisitor visitor) {
  visitor. [[#variable5eacb300]](this );
}

public [[#variable5eacb280]] getDeclaration() {
  return ( [[#variable5eacb280]]) super.getDeclaration();
}

// end of implementation of AnnotationType API
// end of implementation of InterfaceType API
public MirrorKind kind() {
  return MirrorKind. [[#variable5eacb340]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5eacb300]]
visitAnnotationType 
12[[#5eacb300]]
visitInterfaceType 
13[[#5eacb300]]
visitEnumType 
21[[#5eacb280]]
AnnotationTypeDeclaration 
22[[#5eacb280]]
InterfaceDeclaration 
23[[#5eacb280]]
EnumDeclaration 
31[[#5eacb340]]
TYPE_ANNOTATION 
32[[#5eacb340]]
TYPE_INTERFACE 
33[[#5eacb340]]
TYPE_ENUM