edu.umd.cs.findbugs.ba

Class BytecodeScanner

public class BytecodeScanner extends Object implements Constants

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

Nested Class Summary
interfaceBytecodeScanner.Callback
Callback interface to report scanned instructions.
Method Summary
voidscan(byte[] instructionList, BytecodeScanner.Callback callback)
Scan the raw bytecodes of a method.

Method Detail

scan

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

Parameters: instructionList the bytecodes callback the callback object

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.