CloneSet577


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15260.987class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1151690
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Disassembler.java
2151708
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Disassembler.java
Clone Instance
1
Line Count
15
Source Line
1690
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Disassembler.java

        private void disassemble(IRuntimeInvisibleAnnotationsAttribute runtimeInvisibleAnnotationsAttribute, StringBuffer buffer, String lineSeparator, int tabNumber) {
                writeNewLine(buffer, lineSeparator, tabNumber + 1);
                buffer.append(Messages.disassembler_runtimeinvisibleannotationsattributeheader);
                IAnnotation[] annotations = runtimeInvisibleAnnotationsAttribute.getAnnotations();
                for (int i = 0, max = annotations.length; i < max; i++) {
                        disassemble(annotations[i], buffer, lineSeparator, tabNumber + 1);
                }
        }

        private void disassemble(IRuntimeInvisibleParameterAnnotationsAttribute runtimeInvisibleParameterAnnotationsAttribute, StringBuffer buffer, String lineSeparator, int tabNumber) {
                writeNewLine(buffer, lineSeparator, tabNumber + 1);
                buffer.append(Messages.disassembler_runtimeinvisibleparameterannotationsattributeheader);
                IParameterAnnotation[] parameterAnnotations = runtimeInvisibleParameterAnnotationsAttribute.getParameterAnnotations();
                for (int i = 0, max = parameterAnnotations.length; i < max; i++) {
                        disassemble(i, parameterAnnotations[i], buffer, lineSeparator, tabNumber + 1);
                }
        }


Clone Instance
2
Line Count
15
Source Line
1708
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Disassembler.java

        private void disassemble(IRuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute, StringBuffer buffer, String lineSeparator, int tabNumber) {
                writeNewLine(buffer, lineSeparator, tabNumber + 1);
                buffer.append(Messages.disassembler_runtimevisibleannotationsattributeheader);
                IAnnotation[] annotations = runtimeVisibleAnnotationsAttribute.getAnnotations();
                for (int i = 0, max = annotations.length; i < max; i++) {
                        disassemble(annotations[i], buffer, lineSeparator, tabNumber + 1);
                }
        }

        private void disassemble(IRuntimeVisibleParameterAnnotationsAttribute runtimeVisibleParameterAnnotationsAttribute, StringBuffer buffer, String lineSeparator, int tabNumber) {
                writeNewLine(buffer, lineSeparator, tabNumber + 1);
                buffer.append(Messages.disassembler_runtimevisibleparameterannotationsattributeheader);
                IParameterAnnotation[] parameterAnnotations = runtimeVisibleParameterAnnotationsAttribute.getParameterAnnotations();
                for (int i = 0, max = parameterAnnotations.length; i < max; i++) {
                        disassemble(i, parameterAnnotations[i], buffer, lineSeparator, tabNumber + 1);
                }
        }


Clone AbstractionParameter Count: 6Parameter Bindings

private void disassemble( [[#variable5ae7c3a0]]  [[#variable5ae7c300]], StringBuffer buffer, String lineSeparator, int tabNumber) {
  writeNewLine(buffer, lineSeparator, tabNumber + 1);
  buffer.append(Messages. [[#variable5ae7c280]]);
  IAnnotation[] annotations = [[#variable5ae7c300]].getAnnotations();
  for (int i = 0, max = annotations.length; i < max; i++) {
    disassemble(annotations[i], buffer, lineSeparator, tabNumber + 1);
  }
}

private void disassemble( [[#variable5ae7c200]]  [[#variable5ae7c220]], StringBuffer buffer, String lineSeparator, int tabNumber) {
  writeNewLine(buffer, lineSeparator, tabNumber + 1);
  buffer.append(Messages. [[#variableb96511e0]]);
  IParameterAnnotation[] parameterAnnotations = [[#variable5ae7c220]].getParameterAnnotations();
  for (int i = 0, max = parameterAnnotations.length; i < max; i++) {
    disassemble(i, parameterAnnotations[i], buffer, lineSeparator, tabNumber + 1);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5ae7c3a0]]
IRuntimeVisibleAnnotationsAttribute 
12[[#5ae7c3a0]]
IRuntimeInvisibleAnnotationsAttribute 
21[[#5ae7c300]]
runtimeVisibleAnnotationsAttribute 
22[[#5ae7c300]]
runtimeInvisibleAnnotationsAttribute 
31[[#5ae7c280]]
disassembler_runtimevisibleannotationsattributeheader 
32[[#5ae7c280]]
disassembler_runtimeinvisibleannotationsattributeheader 
41[[#5ae7c200]]
IRuntimeVisibleParameterAnnotationsAttribute 
42[[#5ae7c200]]
IRuntimeInvisibleParameterAnnotationsAttribute 
51[[#5ae7c220]]
runtimeVisibleParameterAnnotationsAttribute 
52[[#5ae7c220]]
runtimeInvisibleParameterAnnotationsAttribute 
61[[#b96511e0]]
disassembler_runtimevisibleparameterannotationsattributeheader 
62[[#b96511e0]]
disassembler_runtimeinvisibleparameterannotationsattributeheader