public static BytecodeGetField at(Method method, int bci) { BytecodeGetField b = new BytecodeGetField(method, bci); if (Assert.ASSERTS_ENABLED) { b.verify(); } return b; }
/** Like at, but returns null if the BCI is not at getfield */ public static BytecodeGetField atCheck(Method method, int bci) { BytecodeGetField b = new BytecodeGetField(method, bci); return (b.isValid() ? b : null); }