本文整理汇总了Java中com.intellij.codeInsight.daemon.ImplicitUsageProvider.isImplicitRead方法的典型用法代码示例。如果您正苦于以下问题:Java ImplicitUsageProvider.isImplicitRead方法的具体用法?Java ImplicitUsageProvider.isImplicitRead怎么用?Java ImplicitUsageProvider.isImplicitRead使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.intellij.codeInsight.daemon.ImplicitUsageProvider
的用法示例。
在下文中一共展示了ImplicitUsageProvider.isImplicitRead方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: hasImplicitReadOrWriteUsage
import com.intellij.codeInsight.daemon.ImplicitUsageProvider; //导入方法依赖的package包/类
private static boolean hasImplicitReadOrWriteUsage(final PsiField field, ImplicitUsageProvider[] implicitUsageProviders) {
for (ImplicitUsageProvider provider : implicitUsageProviders) {
if (provider.isImplicitRead(field) || provider.isImplicitWrite(field)) {
return true;
}
}
return false;
}
示例2: isImplicitRead
import com.intellij.codeInsight.daemon.ImplicitUsageProvider; //导入方法依赖的package包/类
public static boolean isImplicitRead(@NotNull Project project, @NotNull PsiVariable element, @NotNull ProgressIndicator progress) {
for(ImplicitUsageProvider provider: ourImplicitUsageProviders) {
progress.checkCanceled();
if (provider.isImplicitRead(element)) {
return true;
}
}
return isInjected(project, element);
}
示例3: isImplicitRead
import com.intellij.codeInsight.daemon.ImplicitUsageProvider; //导入方法依赖的package包/类
private static boolean isImplicitRead(final PsiVariable element, ProgressIndicator progress) {
for(ImplicitUsageProvider provider: ourImplicitUsageProviders) {
progress.checkCanceled();
if (provider.isImplicitRead(element)) {
return true;
}
}
return UnusedSymbolLocalInspection.isInjected(element);
}
示例4: isImplicitRead
import com.intellij.codeInsight.daemon.ImplicitUsageProvider; //导入方法依赖的package包/类
public static boolean isImplicitRead(@NotNull Project project,
@NotNull PsiVariable element,
@NotNull ProgressIndicator progress)
{
for(ImplicitUsageProvider provider : ourImplicitUsageProviders)
{
progress.checkCanceled();
if(provider.isImplicitRead(element))
{
return true;
}
}
return isInjected(project, element);
}