Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 3 | 3 | 0.965 | class_body_declarations[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 43 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/AnnotationDeclarationImpl.java |
2 | 11 | 61 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/EnumDeclarationImpl.java |
3 | 12 | 43 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/InterfaceDeclarationImpl.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; } |
| ||||
// 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; } |
| ||||
// 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; } |
| |||
// 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5eacb300]] | visitAnnotationType |
1 | 2 | [[#5eacb300]] | visitInterfaceType |
1 | 3 | [[#5eacb300]] | visitEnumType |
2 | 1 | [[#5eacb280]] | AnnotationTypeDeclaration |
2 | 2 | [[#5eacb280]] | InterfaceDeclaration |
2 | 3 | [[#5eacb280]] | EnumDeclaration |
3 | 1 | [[#5eacb340]] | TYPE_ANNOTATION |
3 | 2 | [[#5eacb340]] | TYPE_INTERFACE |
3 | 3 | [[#5eacb340]] | TYPE_ENUM |