CloneSet3401


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10210.990class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110112
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ASTBasedDeclarationImpl.java
21037
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/MemberDeclarationImpl.java
Clone Instance
1
Line Count
10
Source Line
112
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ASTBasedDeclarationImpl.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);
    }


Clone Instance
2
Line Count
10
Source Line
37
Source File
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 = getAnnotationInstances();
                return _getAnnotation(annotationClass, instances);
    }

    public Collection<AnnotationMirror> getAnnotationMirrors()
    {
                final IAnnotationBinding[] instances = getAnnotationInstances();
                return _getAnnotationMirrors(instances);
    }


Clone AbstractionParameter Count: 1Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#baf0b480]]
getAnnotationInstancesFromAST 
12[[#baf0b480]]
getAnnotationInstances