| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 10 | 4 | 3 | 0.990 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 10 | 954 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/DefaultBytecodeVisitor.java |
| 2 | 10 | 969 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/DefaultBytecodeVisitor.java |
| 3 | 10 | 2226 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/DefaultBytecodeVisitor.java |
| 4 | 10 | 2241 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/DefaultBytecodeVisitor.java |
| ||||
/**
* @see IBytecodeVisitor#_getfield(int, int, IConstantPoolEntry)
*/
public void _getfield(int pc, int index, IConstantPoolEntry constantFieldref) {
dumpPcNumber(pc);
buffer.append(Messages.bind(Messages.classformat_getfield, new String[] {
OpcodeStringValues.BYTECODE_NAMES[IOpcodeMnemonics.GETFIELD],
Integer.toString(index),
returnDeclaringClassName(constantFieldref),
new String(constantFieldref.getFieldName()),
returnClassName(Signature.toCharArray(constantFieldref.getFieldDescriptor()))
} ));
writeNewLine();
}
|
| ||||
/**
* @see IBytecodeVisitor#_getstatic(int, int, IConstantPoolEntry)
*/
public void _getstatic(int pc, int index, IConstantPoolEntry constantFieldref) {
dumpPcNumber(pc);
buffer.append(Messages.bind(Messages.classformat_getstatic, new String[] {
OpcodeStringValues.BYTECODE_NAMES[IOpcodeMnemonics.GETSTATIC],
Integer.toString(index),
returnDeclaringClassName(constantFieldref),
new String(constantFieldref.getFieldName()),
returnClassName(Signature.toCharArray(constantFieldref.getFieldDescriptor()))
} ));
writeNewLine();
}
|
| ||||
/**
* @see IBytecodeVisitor#_putfield(int, int, IConstantPoolEntry)
*/
public void _putfield(int pc, int index, IConstantPoolEntry constantFieldref) {
dumpPcNumber(pc);
buffer.append(Messages.bind(Messages.classformat_putfield, new String[] {
OpcodeStringValues.BYTECODE_NAMES[IOpcodeMnemonics.PUTFIELD],
Integer.toString(index),
returnDeclaringClassName(constantFieldref),
new String(constantFieldref.getFieldName()),
returnClassName(Signature.toCharArray(constantFieldref.getFieldDescriptor()))
} ));
writeNewLine();
}
|
| ||||
/**
* @see IBytecodeVisitor#_putstatic(int, int, IConstantPoolEntry)
*/
public void _putstatic(int pc, int index, IConstantPoolEntry constantFieldref) {
dumpPcNumber(pc);
buffer.append(Messages.bind(Messages.classformat_putstatic, new String[] {
OpcodeStringValues.BYTECODE_NAMES[IOpcodeMnemonics.PUTSTATIC],
Integer.toString(index),
returnDeclaringClassName(constantFieldref),
new String(constantFieldref.getFieldName()),
returnClassName(Signature.toCharArray(constantFieldref.getFieldDescriptor()))
} ));
writeNewLine();
}
|
| |||
/**
* @see IBytecodeVisitor#_getfield(int, int, IConstantPoolEntry)
*/
/**
* @see IBytecodeVisitor#_getstatic(int, int, IConstantPoolEntry)
*/
/**
* @see IBytecodeVisitor#_putfield(int, int, IConstantPoolEntry)
*/
/**
* @see IBytecodeVisitor#_putstatic(int, int, IConstantPoolEntry)
*/
public void [[#variable646be3c0]](int pc, int index, IConstantPoolEntry constantFieldref) {
dumpPcNumber(pc);
buffer.append(Messages.bind(Messages. [[#variable646be400]], new String[] {
OpcodeStringValues.BYTECODE_NAMES[IOpcodeMnemonics. [[#variable646be4c0]]],
Integer.toString(index),
returnDeclaringClassName(constantFieldref),
new String(constantFieldref.getFieldName()),
returnClassName(Signature.toCharArray(constantFieldref.getFieldDescriptor()))
} ));
writeNewLine();
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#646be3c0]] | _getfield |
| 1 | 2 | [[#646be3c0]] | _getstatic |
| 1 | 3 | [[#646be3c0]] | _putfield |
| 1 | 4 | [[#646be3c0]] | _putstatic |
| 2 | 1 | [[#646be400]] | classformat_getfield |
| 2 | 2 | [[#646be400]] | classformat_getstatic |
| 2 | 3 | [[#646be400]] | classformat_putfield |
| 2 | 4 | [[#646be400]] | classformat_putstatic |
| 3 | 1 | [[#646be4c0]] | GETFIELD |
| 3 | 2 | [[#646be4c0]] | GETSTATIC |
| 3 | 3 | [[#646be4c0]] | PUTFIELD |
| 3 | 4 | [[#646be4c0]] | PUTSTATIC |