Skip to content

Create an Analyzer impl that trusts FrameNode data

William Gray requested to merge wagyourtail/asm:use-frames-for-analyzer into master

Sometimes the analyzer is needed to get the values of types on the stack/locals at a specific instruction in a complete class file and the FrameNode information can be trusted, so this merge request creates a subclass of Analyzer that implements this linear analysis of methods. The major benefit being speed.

Currently called SinglePassAnalyzer not sure on the name, I couldn't think of anything better.

Also, this obviously won't work with SourceValue so I limited it to BasicValue but should I just leave it as V and note that in the docs?

Edited by William Gray

Merge request reports