*
*/
public MethodDescriptorInfo load(CapInputStream in)
throws UnableToReadCapFileException {
MethodDescriptorInfo methodDescriptorInfo = new MethodDescriptorInfo();
methodDescriptorInfo.setToken(in.readByte());
methodDescriptorInfo.setAccessFlags(in.readByte());
methodDescriptorInfo.setMethodOffset(in.readShort());
methodDescriptorInfo.setTypeOffset(in.readShort());
methodDescriptorInfo.setBytecodeCount(in.readShort());
methodDescriptorInfo.setExceptionHandlerCount(in.readShort());
methodDescriptorInfo.setExceptionHandlerIndex(in.readShort());
return methodDescriptorInfo;
}