this.className = element.getClassName(); String fileName = element.getFileName(); this.fileName = fileName == null ? "[unknown source]" : fileName; this.methodName = element.getMethodName(); this.lineNumber = element.getLineNumber();
int dataVersion = in.readInt(); if (dataVersion != 0) { throw new IOException("Expected 0. Got: " + dataVersion); } this.className = in.readUTF(); this.fileName = in.readUTF(); this.methodName = in.readUTF(); this.lineNumber = in.readInt();
return className;
return fileName;
return lineNumber;
return methodName;
out.writeInt(0); // version out.writeUTF(className); out.writeUTF(fileName); out.writeUTF(methodName); out.writeInt(lineNumber);