Package edu.umd.cs.findbugs.ba
Class BytecodeScanner
- java.lang.Object
-
- edu.umd.cs.findbugs.ba.BytecodeScanner
-
public class BytecodeScanner extends java.lang.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
BytecodeScanner.Callback
Callback interface to report scanned instructions.
-
Constructor Summary
Constructors Constructor Description BytecodeScanner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
scan(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 bytecodescallback
- the callback object
-
-