public static interface JavaCodeFragment.VisibilityChecker
Modifier and Type | Interface and Description |
---|---|
static class |
JavaCodeFragment.VisibilityChecker.Visibility |
Modifier and Type | Field and Description |
---|---|
static JavaCodeFragment.VisibilityChecker |
EVERYTHING_VISIBLE
The visibility checker which reports all declarations as visible.
|
static JavaCodeFragment.VisibilityChecker |
PROJECT_SCOPE_VISIBLE |
Modifier and Type | Method and Description |
---|---|
JavaCodeFragment.VisibilityChecker.Visibility |
isDeclarationVisible(PsiElement declaration,
PsiElement place)
Returns the visibility of the specified declaration from the specified location.
|
static final JavaCodeFragment.VisibilityChecker EVERYTHING_VISIBLE
static final JavaCodeFragment.VisibilityChecker PROJECT_SCOPE_VISIBLE
JavaCodeFragment.VisibilityChecker.Visibility isDeclarationVisible(PsiElement declaration, PsiElement place)
declaration
- the referenced declaration.place
- the location of the reference to the declaration.