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