本文整理汇总了Java中com.intellij.codeInspection.LocalQuickFixOnPsiElement类的典型用法代码示例。如果您正苦于以下问题:Java LocalQuickFixOnPsiElement类的具体用法?Java LocalQuickFixOnPsiElement怎么用?Java LocalQuickFixOnPsiElement使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
LocalQuickFixOnPsiElement类属于com.intellij.codeInspection包,在下文中一共展示了LocalQuickFixOnPsiElement类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createMethodThrowsFix
import com.intellij.codeInspection.LocalQuickFixOnPsiElement; //导入依赖的package包/类
@Override
public LocalQuickFixOnPsiElement createMethodThrowsFix(@NotNull PsiMethod method,
@NotNull PsiClassType exceptionClass,
boolean shouldThrow,
boolean showContainingClass) {
return new MethodThrowsFix(method, exceptionClass, shouldThrow, showContainingClass);
}
示例2: createMethodThrowsFix
import com.intellij.codeInspection.LocalQuickFixOnPsiElement; //导入依赖的package包/类
@NotNull
@Override
public LocalQuickFixOnPsiElement createMethodThrowsFix(@NotNull PsiMethod psiMethod, @NotNull PsiClassType psiClassType, boolean b, boolean b2) {
return QuickFixes.EMPTY_FIX;
}
示例3: createMethodThrowsFix
import com.intellij.codeInspection.LocalQuickFixOnPsiElement; //导入依赖的package包/类
@NotNull
public abstract LocalQuickFixOnPsiElement createMethodThrowsFix(@NotNull PsiMethod method, @NotNull PsiClassType exceptionClass, boolean shouldThrow, boolean showContainingClass);
示例4: createMethodThrowsFix
import com.intellij.codeInspection.LocalQuickFixOnPsiElement; //导入依赖的package包/类
@NotNull
@Override
public LocalQuickFixOnPsiElement createMethodThrowsFix(@NotNull PsiMethod method, @NotNull PsiClassType exceptionClass, boolean shouldThrow, boolean showContainingClass)
{
return new MethodThrowsFix(method, exceptionClass, shouldThrow, showContainingClass);
}
示例5: createMethodThrowsFix
import com.intellij.codeInspection.LocalQuickFixOnPsiElement; //导入依赖的package包/类
public abstract LocalQuickFixOnPsiElement createMethodThrowsFix(@NotNull PsiMethod method, @NotNull PsiClassType exceptionClass, boolean shouldThrow, boolean showContainingClass);