Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
15 | 2 | 6 | 0.987 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 15 | 1690 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Disassembler.java |
2 | 15 | 1708 | 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); } } |
| ||||
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); } } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5ae7c3a0]] | IRuntimeVisibleAnnotationsAttribute |
1 | 2 | [[#5ae7c3a0]] | IRuntimeInvisibleAnnotationsAttribute |
2 | 1 | [[#5ae7c300]] | runtimeVisibleAnnotationsAttribute |
2 | 2 | [[#5ae7c300]] | runtimeInvisibleAnnotationsAttribute |
3 | 1 | [[#5ae7c280]] | disassembler_runtimevisibleannotationsattributeheader |
3 | 2 | [[#5ae7c280]] | disassembler_runtimeinvisibleannotationsattributeheader |
4 | 1 | [[#5ae7c200]] | IRuntimeVisibleParameterAnnotationsAttribute |
4 | 2 | [[#5ae7c200]] | IRuntimeInvisibleParameterAnnotationsAttribute |
5 | 1 | [[#5ae7c220]] | runtimeVisibleParameterAnnotationsAttribute |
5 | 2 | [[#5ae7c220]] | runtimeInvisibleParameterAnnotationsAttribute |
6 | 1 | [[#b96511e0]] | disassembler_runtimevisibleparameterannotationsattributeheader |
6 | 2 | [[#b96511e0]] | disassembler_runtimeinvisibleparameterannotationsattributeheader |