Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 4 | 5 | 0.962 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 26 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/AnnotationDeclarationImpl.java |
2 | 9 | 32 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/EnumDeclarationImpl.java |
3 | 9 | 15 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/FieldDeclarationImpl.java |
4 | 9 | 26 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/InterfaceDeclarationImpl.java |
| ||||
public AnnotationDeclarationImpl( final ITypeBinding binding, final BaseProcessorEnv env) { super(binding, env); assert binding.isAnnotation(): "binding does not represent a annotation "; //$NON-NLS-1$ } public void accept(DeclarationVisitor visitor) { visitor.visitAnnotationTypeDeclaration(this ); } |
| ||||
public EnumDeclarationImpl( final ITypeBinding binding, final BaseProcessorEnv env) { super(binding, env); assert binding.isEnum(): "binding is not an enum."; //$NON-NLS-1$ } public void accept(DeclarationVisitor visitor) { visitor.visitEnumDeclaration(this ); } |
| ||||
public FieldDeclarationImpl( final IVariableBinding binding, final BaseProcessorEnv env) { super(binding, env); assert binding.isField(): "binding doesn\'t represent a field"; //$NON-NLS-1$ } public void accept(DeclarationVisitor visitor) { visitor.visitFieldDeclaration(this ); } |
| ||||
public InterfaceDeclarationImpl( final ITypeBinding binding, final BaseProcessorEnv env) { super(binding, env); assert binding.isInterface(): "binding does not represents an interface."; //$NON-NLS-1$ } public void accept(DeclarationVisitor visitor) { visitor.visitInterfaceDeclaration(this ); } |
| |||
public [[#variable606620e0]]( final [[#variable60662080]] binding, final BaseProcessorEnv env) { super(binding, env); assert binding. [[#variable60662000]](): [[#variableb61b1fc0]]; //$NON-NLS-1$ } public void accept(DeclarationVisitor visitor) { visitor. [[#variableb61b1f00]](this ); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#606620e0]] | AnnotationDeclarationImpl |
1 | 2 | [[#606620e0]] | EnumDeclarationImpl |
1 | 3 | [[#606620e0]] | FieldDeclarationImpl |
1 | 4 | [[#606620e0]] | InterfaceDeclarationImpl |
2 | 1 | [[#60662080]] | ITypeBinding |
2 | 2 | [[#60662080]] | ITypeBinding |
2 | 3 | [[#60662080]] | IVariableBinding |
2 | 4 | [[#60662080]] | ITypeBinding |
3 | 1 | [[#60662000]] | isAnnotation |
3 | 2 | [[#60662000]] | isEnum |
3 | 3 | [[#60662000]] | isField |
3 | 4 | [[#60662000]] | isInterface |
4 | 1 | [[#b61b1fc0]] | "binding does not represent a annotation " |
4 | 2 | [[#b61b1fc0]] | "binding is not an enum." |
4 | 3 | [[#b61b1fc0]] | "binding doesn\'t represent a field" |
4 | 4 | [[#b61b1fc0]] | "binding does not represents an interface." |
5 | 1 | [[#b61b1f00]] | visitAnnotationTypeDeclaration |
5 | 2 | [[#b61b1f00]] | visitEnumDeclaration |
5 | 3 | [[#b61b1f00]] | visitFieldDeclaration |
5 | 4 | [[#b61b1f00]] | visitInterfaceDeclaration |