Class TryWithResourcesJavac11Filter.Matcher
java.lang.Object
org.jacoco.core.internal.analysis.filter.AbstractMatcher
org.jacoco.core.internal.analysis.filter.TryWithResourcesJavac11Filter.Matcher
- Enclosing class:
TryWithResourcesJavac11Filter
r = ...;
try {
...
} body-only-finally {
if (r != null)
r.close();
} catch (Throwable primaryExc) {
if (r != null)
try {
r.close();
} catch (Throwable t) {
primaryExc.addSuppressed(t);
}
throw primaryExc;
}
null check for resource is omitted when it is initialized
using new-
Field Summary
FieldsFields inherited from class AbstractMatcher
cursor, vars -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidmatch(org.objectweb.asm.tree.AbstractInsnNode start, IFilterOutput output, boolean withNullCheck) private voidprivate booleanMethods inherited from class AbstractMatcher
firstIsALoad0, next, nextIs, nextIsField, nextIsInvoke, nextIsSwitch, nextIsType, nextIsVar, skipNonOpcodes, skipNonOpcodes
-
Field Details
-
withNullCheck
private boolean withNullCheck -
expectedOwner
-
-
Constructor Details
-
Matcher
private Matcher()
-
-
Method Details
-
match
void match(org.objectweb.asm.tree.AbstractInsnNode start, IFilterOutput output, boolean withNullCheck) -
nextIsJavacClose
private boolean nextIsJavacClose() -
nextIsClose
private void nextIsClose()
-