public static @CheckForNull LocalVariableAnnotation getLocalVariableAnnotation( DismantleBytecode visitor, Item item) { int reg = item.getRegisterNumber(); if (reg < 0) return null; return getLocalVariableAnnotation(visitor.getMethod(), reg, visitor.getPC(), item.getPC()); }
/** * @param method * @param item * @param pc2 * @return */ public static @CheckForNull LocalVariableAnnotation getLocalVariableAnnotation( Method method, Item item, int pc) { int reg = item.getRegisterNumber(); if (reg < 0) return null; return getLocalVariableAnnotation(method, reg, pc, item.getPC()); }