public class AddImportAction extends java.lang.Object implements QuestionAction
Constructor and Description |
---|
AddImportAction(Project project,
PsiReference ref,
Editor editor,
PsiClass... targetClasses) |
Modifier and Type | Method and Description |
---|---|
protected void |
bindReference(PsiReference ref,
PsiClass targetClass) |
static void |
excludeFromImport(Project project,
java.lang.String prefix) |
boolean |
execute() |
static java.util.List<java.lang.String> |
getAllExcludableStrings(java.lang.String qname) |
static PopupStep |
getExcludesStep(Project project,
java.lang.String qname) |
public AddImportAction(Project project, PsiReference ref, Editor editor, PsiClass... targetClasses)
public boolean execute()
execute
in interface QuestionAction
public static PopupStep getExcludesStep(Project project, java.lang.String qname)
public static void excludeFromImport(Project project, java.lang.String prefix)
public static java.util.List<java.lang.String> getAllExcludableStrings(java.lang.String qname)
protected void bindReference(PsiReference ref, PsiClass targetClass)