Class BytecodeScanner

java.lang.Object
edu.umd.cs.findbugs.ba.BytecodeScanner

public class BytecodeScanner extends Object
Scan the raw bytecodes of a method. This is useful in order to find out quickly whether or not a method uses particular instructions.
Author:
David Hovemeyer
  • Constructor Details

    • BytecodeScanner

      public BytecodeScanner()
  • Method Details

    • scan

      public void scan(byte[] instructionList, BytecodeScanner.Callback callback)
      Scan the raw bytecodes of a method.
      Parameters:
      instructionList - the bytecodes
      callback - the callback object