CloneSet2759


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10230.987class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1105891
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ClassFile.java
2105903
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ClassFile.java
Clone Instance
1
Line Count
10
Source Line
5891
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ClassFile.java

        private boolean isRuntimeInvisible(Annotation annotation) {
                final TypeBinding annotationBinding = annotation.resolvedType;
                if (annotationBinding == null) {
                        return false;
                }
                long metaTagBits = annotationBinding.getAnnotationTagBits(); // could be forward reference
                if ((metaTagBits&  TagBits.AnnotationRetentionMASK) == 0)
                        return true; // by default the retention is CLASS

                return (metaTagBits&  TagBits.AnnotationRetentionMASK) == TagBits.AnnotationClassRetention;
        }


Clone Instance
2
Line Count
10
Source Line
5903
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ClassFile.java

        private boolean isRuntimeVisible(Annotation annotation) {
                final TypeBinding annotationBinding = annotation.resolvedType;
                if (annotationBinding == null) {
                        return false;
                }
                long metaTagBits = annotationBinding.getAnnotationTagBits();
                if ((metaTagBits&  TagBits.AnnotationRetentionMASK) == 0)
                        return false; // by default the retention is CLASS

                return (metaTagBits&  TagBits.AnnotationRetentionMASK) == TagBits.AnnotationRuntimeRetention;
        }


Clone AbstractionParameter Count: 3Parameter Bindings

private boolean  [[#variable56c28760]](Annotation annotation) {
  final TypeBinding annotationBinding = annotation.resolvedType;
  if (annotationBinding == null) {
    return false;
  }
  long metaTagBits = annotationBinding.getAnnotationTagBits(); // could be forward reference
  if ((metaTagBits&TagBits.AnnotationRetentionMASK) == 0)
    return [[#variable56c286e0]]; // by default the retention is CLASS
  return (metaTagBits&TagBits.AnnotationRetentionMASK) == TagBits. [[#variable56c28660]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#56c28760]]
isRuntimeInvisible 
12[[#56c28760]]
isRuntimeVisible 
21[[#56c286e0]]
true 
22[[#56c286e0]]
false 
31[[#56c28660]]
AnnotationClassRetention 
32[[#56c28660]]
AnnotationRuntimeRetention