Java 类com.intellij.ui.classFilter.DebuggerClassFilterProvider 实例源码

项目:consulo-java    文件:DebugProcessImpl.java   
@NotNull
private static List<ClassFilter> getActiveFilters()
{
    DebuggerSettings settings = DebuggerSettings.getInstance();
    List<ClassFilter> classFilters = new ArrayList<>();
    for(DebuggerClassFilterProvider provider : DebuggerClassFilterProvider.EP_NAME.getExtensions())
    {
        classFilters.addAll(provider.getFilters());
    }
    if(settings.TRACING_FILTERS_ENABLED)
    {
        ContainerUtil.prepend(classFilters, settings.getSteppingFilters());
    }
    return classFilters.stream().filter(ClassFilter::isEnabled).collect(Collectors.toList());
}