本文整理汇总了Java中com.puppycrawl.tools.checkstyle.api.Scope.getInstance方法的典型用法代码示例。如果您正苦于以下问题:Java Scope.getInstance方法的具体用法?Java Scope.getInstance怎么用?Java Scope.getInstance使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.puppycrawl.tools.checkstyle.api.Scope
的用法示例。
在下文中一共展示了Scope.getInstance方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setScope
import com.puppycrawl.tools.checkstyle.api.Scope; //导入方法依赖的package包/类
/**
* Sets the scope for recorded references.
* @param aScopeName the scope for recorded references.
*/
public void setScope(String aScopeName)
{
mScope = Scope.getInstance(aScopeName);
}
示例2: setScope
import com.puppycrawl.tools.checkstyle.api.Scope; //导入方法依赖的package包/类
/**
* Sets the scope to check.
*
* @param aFrom
* string to set scope from
*/
public void setScope(String aFrom) {
mScope = Scope.getInstance(aFrom);
}
开发者ID:Adobe-Consulting-Services,项目名称:checkstyle-osgi-checks,代码行数:10,代码来源:ExportedJavadocTypeCheck.java
示例3: setExcludeScope
import com.puppycrawl.tools.checkstyle.api.Scope; //导入方法依赖的package包/类
/**
* Set the excludeScope.
*
* @param aScope
* a <code>String</code> value
*/
public void setExcludeScope(String aScope) {
mExcludeScope = Scope.getInstance(aScope);
}
开发者ID:Adobe-Consulting-Services,项目名称:checkstyle-osgi-checks,代码行数:10,代码来源:ExportedJavadocTypeCheck.java
示例4: setScope
import com.puppycrawl.tools.checkstyle.api.Scope; //导入方法依赖的package包/类
/**
* Sets the scope to check.
*
* @param aFrom
* string to get the scope from
*/
public void setScope(String aFrom) {
mScope = Scope.getInstance(aFrom);
}
开发者ID:Adobe-Consulting-Services,项目名称:checkstyle-osgi-checks,代码行数:10,代码来源:ExportedJavadocVariableCheck.java