Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 1 | 0.990 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 112 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ASTBasedDeclarationImpl.java |
2 | 10 | 37 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/MemberDeclarationImpl.java |
| ||||
public <A extends Annotation> A getAnnotation(Class<A> annotationClass) { final IAnnotationBinding[] instances = getAnnotationInstancesFromAST(); return _getAnnotation(annotationClass, instances); } public Collection<AnnotationMirror> getAnnotationMirrors() { final IAnnotationBinding[] instances = getAnnotationInstancesFromAST(); return _getAnnotationMirrors(instances); } |
| ||||
public <A extends Annotation> A getAnnotation(Class<A> annotationClass) { final IAnnotationBinding[] instances = getAnnotationInstances(); return _getAnnotation(annotationClass, instances); } public Collection<AnnotationMirror> getAnnotationMirrors() { final IAnnotationBinding[] instances = getAnnotationInstances(); return _getAnnotationMirrors(instances); } |
| |||
public <A extends Annotation>A getAnnotation(Class<A> annotationClass) { final IAnnotationBinding[] instances = [[#variablebaf0b480]](); return _getAnnotation(annotationClass, instances); } public Collection<AnnotationMirror> getAnnotationMirrors() { final IAnnotationBinding[] instances = [[#variablebaf0b480]](); return _getAnnotationMirrors(instances); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#baf0b480]] | getAnnotationInstancesFromAST |
1 | 2 | [[#baf0b480]] | getAnnotationInstances |