Class TryWithResourcesJavac11Filter
java.lang.Object
org.jacoco.core.internal.analysis.filter.TryWithResourcesJavac11Filter
- All Implemented Interfaces:
IFilter
Filters code which is generated for try-with-resources statement by javac
starting from version 11.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate class
r = ...; try { ... -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
filter
(org.objectweb.asm.tree.MethodNode methodNode, IFilterContext context, IFilterOutput output) This method is called for every method.
-
Constructor Details
-
TryWithResourcesJavac11Filter
public TryWithResourcesJavac11Filter()
-
-
Method Details
-
filter
public void filter(org.objectweb.asm.tree.MethodNode methodNode, IFilterContext context, IFilterOutput output) Description copied from interface:IFilter
This method is called for every method. The filter implementation is expected to inspect the provided method and report its result to the givenIFilterOutput
instance.
-