Package org.jacoco.core.internal.flow
Class FrameSnapshot
java.lang.Object
org.jacoco.core.internal.flow.FrameSnapshot
- All Implemented Interfaces:
IFrame
IFrame implementation which creates snapshots from an
AnalyzerAdapter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(org.objectweb.asm.MethodVisitor mv) Emits a frame event with the current content to the given visitor.(package private) static IFrame
create
(org.objectweb.asm.commons.AnalyzerAdapter analyzer, int popCount) Create a IFrame instance based on the given analyzer.private static Object[]
Reduce double word types into a single slot as requiredMethodVisitor.visitFrame(int, int, Object[], int, Object[])
method.
-
Field Details
-
NOP
-
locals
-
stack
-
-
Constructor Details
-
FrameSnapshot
-
-
Method Details
-
create
Create a IFrame instance based on the given analyzer.- Parameters:
analyzer
- analyzer instance ornull
popCount
- number of items to remove from the operand stack- Returns:
- IFrame instance. In case the analyzer is
null
or does not contain stackmap information a "NOP" IFrame is returned.
-
reduce
Reduce double word types into a single slot as requiredMethodVisitor.visitFrame(int, int, Object[], int, Object[])
method. -
accept
public void accept(org.objectweb.asm.MethodVisitor mv) Description copied from interface:IFrame
Emits a frame event with the current content to the given visitor.
-