ppt4j 1.0
 
Loading...
Searching...
No Matches
ppt4j.analysis.bytecode.LoopAnalysis Class Reference
Inheritance diagram for ppt4j.analysis.bytecode.LoopAnalysis:
ppt4j.analysis.AbstractAnalysis

Public Member Functions

 LoopAnalysis (String className, MethodNode methodNode, Set< AbstractInsnNode > backwardBranches)
 
LoopAnalysis analyze ()
 

Constructor & Destructor Documentation

◆ LoopAnalysis()

ppt4j.analysis.bytecode.LoopAnalysis.LoopAnalysis ( String className,
MethodNode methodNode,
Set< AbstractInsnNode > backwardBranches )

Member Function Documentation

◆ analyze()

LoopAnalysis ppt4j.analysis.bytecode.LoopAnalysis.analyze ( )

This method analyzes the control flow of the given method by using a BasicBlockControlFlowAnalyzer. It iterates through the instructions of the method, identifies jump instructions, and checks for backward branches. If a backward branch is found, it adds the jump instruction to the backwardBranches list.

Returns
The current instance of the class.

Implements ppt4j.analysis.AbstractAnalysis.


The documentation for this class was generated from the following file: