1 // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
2 package com.intellij.openapi.components
4 import com.intellij.openapi.application.PathMacroFilter
5 import org.jdom.Attribute
6 import org.jdom.Element
8 class CompositePathMacroFilter(private val filters: List<PathMacroFilter>) : PathMacroFilter() {
9 override fun skipPathMacros(element: Element) = filters.any { it.skipPathMacros(element) }
11 override fun skipPathMacros(attribute: Attribute) = filters.any { it.skipPathMacros(attribute) }
13 override fun recursePathMacros(attribute: Attribute) = filters.any { it.recursePathMacros(attribute) }