Package edu.umd.cs.findbugs.ba
Class BytecodeScanner
java.lang.Object
edu.umd.cs.findbugs.ba.BytecodeScanner
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 ClassesModifier and TypeClassDescriptionstatic interface
Callback interface to report scanned instructions. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
scan
(byte[] instructionList, BytecodeScanner.Callback callback) Scan the raw bytecodes of a method.
-
Constructor Details
-
BytecodeScanner
public BytecodeScanner()
-
-
Method Details
-
scan
Scan the raw bytecodes of a method.- Parameters:
instructionList
- the bytecodescallback
- the callback object
-