public class FrameCountVisitor extends Object implements IFlowGraphVisitor
Modifier and Type | Method and Description |
---|---|
boolean |
hasNewclassInstruction() |
boolean |
visitBlock(IBasicBlock b)
Visit a new Block.
|
void |
visitEnd(IBasicBlock b)
Finish visiting a Block.
|
void |
visitInstruction(Instruction i)
Visit an Instruction within the most recently-visited Block.
|
public boolean visitBlock(IBasicBlock b)
visitBlock
in interface IFlowGraphVisitor
b
- - the Block to visit.public void visitInstruction(Instruction i)
visitInstruction
in interface IFlowGraphVisitor
i
- - the Instruction.public void visitEnd(IBasicBlock b)
IFlowGraphVisitor
visitEnd
in interface IFlowGraphVisitor
b
- - the Block. It must be the same block last visited by
visitBlock() where that call returned true.public boolean hasNewclassInstruction()
Copyright © 2016 The Apache Software Foundation. All rights reserved.