Class AbstractMatcher
java.lang.Object
org.jacoco.core.internal.analysis.filter.AbstractMatcher
- Direct Known Subclasses:
EnumEmptyConstructorFilter.Matcher
,KotlinCoroutineFilter.Matcher
,KotlinDefaultArgumentsFilter.Matcher
,KotlinDefaultMethodsFilter.Matcher
,KotlinLateinitFilter.Matcher
,KotlinNotNullOperatorFilter.Matcher
,KotlinUnsafeCastOperatorFilter.Matcher
,KotlinWhenFilter.Matcher
,KotlinWhenStringFilter.Matcher
,PrivateEmptyNoArgConstructorFilter.Matcher
,RecordsFilter.Matcher
,StringSwitchFilter.Matcher
,StringSwitchJavacFilter.Matcher
,SynchronizedFilter.Matcher
,TryWithResourcesEcjFilter.Matcher
,TryWithResourcesJavac11Filter.Matcher
,TryWithResourcesJavacFilter.Matcher
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) final void
firstIsALoad0
(org.objectweb.asm.tree.MethodNode methodNode) (package private) final void
next()
Movescursor
to next instruction.(package private) final void
nextIs
(int opcode) Movescursor
to next instruction if it has given opcode, otherwise sets it tonull
.(package private) final void
nextIsInvoke
(int opcode, String owner, String name, String descriptor) Movescursor
to next instruction if it isMethodInsnNode
with given opcode, owner, name and descriptor, otherwise sets it tonull
.(package private) final void
(package private) final void
nextIsType
(int opcode, String desc) Movescursor
to next instruction if it isTypeInsnNode
with given opcode and operand, otherwise sets it tonull
.(package private) final void
(package private) final void
(package private) static org.objectweb.asm.tree.AbstractInsnNode
skipNonOpcodes
(org.objectweb.asm.tree.AbstractInsnNode cursor) Returns first instruction from given and following it that is notAbstractInsnNode.FRAME
,AbstractInsnNode.LABEL
,AbstractInsnNode.LINE
.
-
Field Details
-
vars
-
cursor
org.objectweb.asm.tree.AbstractInsnNode cursor
-
-
Constructor Details
-
AbstractMatcher
AbstractMatcher()
-
-
Method Details
-
firstIsALoad0
final void firstIsALoad0(org.objectweb.asm.tree.MethodNode methodNode) -
nextIsType
Movescursor
to next instruction if it isTypeInsnNode
with given opcode and operand, otherwise sets it tonull
. -
nextIsInvoke
Movescursor
to next instruction if it isMethodInsnNode
with given opcode, owner, name and descriptor, otherwise sets it tonull
. -
nextIsVar
-
nextIsSwitch
final void nextIsSwitch() -
nextIs
final void nextIs(int opcode) Movescursor
to next instruction if it has given opcode, otherwise sets it tonull
. -
next
final void next()Movescursor
to next instruction. -
skipNonOpcodes
final void skipNonOpcodes() -
skipNonOpcodes
static org.objectweb.asm.tree.AbstractInsnNode skipNonOpcodes(org.objectweb.asm.tree.AbstractInsnNode cursor) Returns first instruction from given and following it that is notAbstractInsnNode.FRAME
,AbstractInsnNode.LABEL
,AbstractInsnNode.LINE
.
-