org.jacoco.core.internal.analysis.filter
Class TryWithResourcesJavacFilter
java.lang.Object
org.jacoco.core.internal.analysis.filter.TryWithResourcesJavacFilter
- All Implemented Interfaces:
- IFilter
public final class TryWithResourcesJavacFilter
- extends Object
- implements IFilter
Filters code which is generated for try-with-resources statement by javac
versions from 7 to 10.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TryWithResourcesJavacFilter
public TryWithResourcesJavacFilter()
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
given
IFilterOutput instance.
- Specified by:
filter in interface IFilter
- Parameters:
methodNode - method to inspectcontext - context information for the methodoutput - callback to report filtering results to
Copyright © 2009–2023 Mountainminds GmbH & Co. KG. All rights reserved.