当前位置: 首页>>代码示例>>Java>>正文


Java BeforeExecutionFileFilter类代码示例

本文整理汇总了Java中com.puppycrawl.tools.checkstyle.api.BeforeExecutionFileFilter的典型用法代码示例。如果您正苦于以下问题:Java BeforeExecutionFileFilter类的具体用法?Java BeforeExecutionFileFilter怎么用?Java BeforeExecutionFileFilter使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


BeforeExecutionFileFilter类属于com.puppycrawl.tools.checkstyle.api包,在下文中一共展示了BeforeExecutionFileFilter类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: isFileFilterModule

import com.puppycrawl.tools.checkstyle.api.BeforeExecutionFileFilter; //导入依赖的package包/类
/**
 * Checks whether a class may be considered as the checkstyle file filter.
 * Checkstyle's file filters are classes which implement 'BeforeExecutionFileFilter' interface.
 * @param loadedClass class to check.
 * @return true if a class may be considered as the checkstyle file filter.
 */
public static boolean isFileFilterModule(Class<?> loadedClass) {
    return BeforeExecutionFileFilter.class.isAssignableFrom(loadedClass);
}
 
开发者ID:checkstyle,项目名称:sonar-checkstyle,代码行数:10,代码来源:CheckUtil.java

示例2: isFileFilterModule

import com.puppycrawl.tools.checkstyle.api.BeforeExecutionFileFilter; //导入依赖的package包/类
/**
 * Checks whether a class may be considered as the checkstyle file filter.
 * Checkstyle's file filters are classes which implement 'BeforeExecutionFileFilter' interface.
 * @param clazz class to check.
 * @return true if a class may be considered as the checkstyle file filter.
 */
public static boolean isFileFilterModule(Class<?> clazz) {
    return BeforeExecutionFileFilter.class.isAssignableFrom(clazz);
}
 
开发者ID:rnveach,项目名称:checkstyle-backport-jre6,代码行数:10,代码来源:ModuleReflectionUtils.java

示例3: removeBeforeExecutionFileFilter

import com.puppycrawl.tools.checkstyle.api.BeforeExecutionFileFilter; //导入依赖的package包/类
/**
 * Removes before execution file filter.
 * @param filter before execution file filter to remove.
 */
public void removeBeforeExecutionFileFilter(BeforeExecutionFileFilter filter) {
    beforeExecutionFileFilters.removeBeforeExecutionFileFilter(filter);
}
 
开发者ID:rnveach,项目名称:checkstyle-backport-jre6,代码行数:8,代码来源:Checker.java

示例4: addBeforeExecutionFileFilter

import com.puppycrawl.tools.checkstyle.api.BeforeExecutionFileFilter; //导入依赖的package包/类
/**
 * Adds a before execution file filter to the end of the event chain.
 * @param filter the additional filter
 */
public void addBeforeExecutionFileFilter(BeforeExecutionFileFilter filter) {
    beforeExecutionFileFilters.addBeforeExecutionFileFilter(filter);
}
 
开发者ID:rnveach,项目名称:checkstyle-backport-jre6,代码行数:8,代码来源:Checker.java


注:本文中的com.puppycrawl.tools.checkstyle.api.BeforeExecutionFileFilter类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。