org.jacoco.core.internal.analysis.filter
Class StringSwitchFilter

java.lang.Object
  extended by org.jacoco.core.internal.analysis.filter.StringSwitchFilter
All Implemented Interfaces:
IFilter

public final class StringSwitchFilter
extends Object
implements IFilter

Filters code that is generated by ECJ for a switch statement with a String and by Kotlin compiler 1.5 and above for a when expression with a String.


Constructor Summary
StringSwitchFilter()
           
 
Method Summary
 void filter(org.objectweb.asm.tree.MethodNode methodNode, IFilterContext context, IFilterOutput output)
          This method is called for every method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringSwitchFilter

public StringSwitchFilter()
Method Detail

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 inspect
context - context information for the method
output - callback to report filtering results to


Copyright © 2009–2021 Mountainminds GmbH & Co. KG. All rights reserved.