Example #1
0
 public static BytecodeGetField at(Method method, int bci) {
   BytecodeGetField b = new BytecodeGetField(method, bci);
   if (Assert.ASSERTS_ENABLED) {
     b.verify();
   }
   return b;
 }
Example #2
0
 /** 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);
 }