com.intellij.psi
Interface PsiCodeFragment.VisibilityChecker
- Enclosing interface:
- PsiCodeFragment
public static interface PsiCodeFragment.VisibilityChecker
Interface used to determine the visibility of declarations from the code fragment.
EVERYTHING_VISIBLE
static final PsiCodeFragment.VisibilityChecker EVERYTHING_VISIBLE
- The visibility checker which reports all declarations as visible.
- Since:
- 5.0.2
isDeclarationVisible
PsiCodeFragment.VisibilityChecker.Visibility isDeclarationVisible(PsiElement declaration,
PsiElement place)
- Returns the visibility of the specified declaration from the specified location.
- Parameters:
declaration - the referenced declaration.place - the location of the reference to the declaration.
- Returns:
- the visibility of the declaraion.