*
* @return a StaticMethodRef object (internal or external classref)
* @throws java.io.IOException
*/
public StaticMethodRef load(CapInputStream in) throws UnableToReadCapFileException {
StaticMethodRef staticMethodRef;
Byte buf = in.readByte();
//if the most significant bit is 0 it's an internalStaticMethoddRef
if ((buf % (Math.pow(2, 16) - 1)) == 0) {
staticMethodRef = new InternalStaticMethodRef();