| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 30 | 2 | 3 | 0.972 | class_body_declarations[3] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 30 | 350 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/MirrorImpl.java |
| 2 | 30 | 599 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/MirrorImpl.java |
| ||||
/**
* Reads Jdwp data and, if verbose is on, outputs verbose info.
* @return Returns value that has been read.
*/
public byte readByte(String description, Map valueToString, DataInputStream in) throws IOException {
byte result = in.readByte();
if (fVerboseWriter != null) {
fVerboseWriter.println(description, result, valueToString);
}
return result;
}
/**
* Reads Jdwp data and, if verbose is on, outputs verbose info.
* @return Returns value that has been read.
*/
public short readShort(String description, Map valueToString, DataInputStream in) throws IOException {
short result = in.readShort();
if (fVerboseWriter != null) {
fVerboseWriter.println(description, result, valueToString);
}
return result;
}
/**
* Reads Jdwp data and, if verbose is on, outputs verbose info.
* @return Returns value that has been read.
*/
public int readInt(String description, Map valueToString, DataInputStream in) throws IOException {
int result = in.readInt();
if (fVerboseWriter != null) {
fVerboseWriter.println(description, result, valueToString);
}
return result;
}
|
| ||||
/**
* Reads Jdwp data and, if verbose is on, outputs verbose info.
* @return Returns value that has been read.
*/
public byte readByte(String description, String[] bitNames, DataInputStream in) throws IOException {
byte result = in.readByte();
if (fVerboseWriter != null) {
fVerboseWriter.println(description, result, bitNames);
}
return result;
}
/**
* Reads Jdwp data and, if verbose is on, outputs verbose info.
* @return Returns value that has been read.
*/
public short readShort(String description, String[] bitNames, DataInputStream in) throws IOException {
short result = in.readShort();
if (fVerboseWriter != null) {
fVerboseWriter.println(description, result, bitNames);
}
return result;
}
/**
* Reads Jdwp data and, if verbose is on, outputs verbose info.
* @return Returns value that has been read.
*/
public int readInt(String description, String[] bitNames, DataInputStream in) throws IOException {
int result = in.readInt();
if (fVerboseWriter != null) {
fVerboseWriter.println(description, result, bitNames);
}
return result;
}
|
| |||
/**
* Reads Jdwp data and, if verbose is on, outputs verbose info.
* @return Returns value that has been read.
*/
public byte readByte(String description, [[#variable94273d80]] [[#variable94273da0]] [[#variable94273e00]], DataInputStream in) throws IOException {
byte result = in.readByte();
if (fVerboseWriter != null) {
fVerboseWriter.println(description, result, [[#variable94273e00]]);
}
return result;
}
/**
* Reads Jdwp data and, if verbose is on, outputs verbose info.
* @return Returns value that has been read.
*/
public short readShort(String description, [[#variable94273d80]] [[#variable94273da0]] [[#variable94273e00]], DataInputStream in) throws IOException {
short result = in.readShort();
if (fVerboseWriter != null) {
fVerboseWriter.println(description, result, [[#variable94273e00]]);
}
return result;
}
/**
* Reads Jdwp data and, if verbose is on, outputs verbose info.
* @return Returns value that has been read.
*/
public int readInt(String description, [[#variable94273d80]] [[#variable94273da0]] [[#variable94273e00]], DataInputStream in) throws IOException {
int result = in.readInt();
if (fVerboseWriter != null) {
fVerboseWriter.println(description, result, [[#variable94273e00]]);
}
return result;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#94273d80]] | String |
| 1 | 2 | [[#94273d80]] | Map |
| 2 | 1 | [[#94273da0]] | [] |
| 2 | 2 | [[#94273da0]] | |
| 3 | 1 | [[#94273e00]] | bitNames |
| 3 | 2 | [[#94273e00]] | valueToString |