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

java.lang.Object
  extended by org.jacoco.core.internal.analysis.filter.Filters

public final class Filters
extends Object

Factory for all JaCoCo filters.


Field Summary
static IFilter NONE
          Filter that does nothing.
 
Method Summary
static IFilter all()
          Creates a filter that combines all filters.
static boolean isKotlinClass(IFilterContext context)
          Checks whether the class corresponding to the given context has kotlin/Metadata annotation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final IFilter NONE
Filter that does nothing.

Method Detail

all

public static IFilter all()
Creates a filter that combines all filters.

Returns:
filter that combines all filters

isKotlinClass

public static boolean isKotlinClass(IFilterContext context)
Checks whether the class corresponding to the given context has kotlin/Metadata annotation.

Parameters:
context - context information
Returns:
true if the class corresponding to the given context has kotlin/Metadata annotation


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