@Override public ElementDescriptionProvider getDefaultProvider() { return new ElementDescriptionProvider() { @Override public String getElementDescription(@NotNull PsiElement element, @NotNull ElementDescriptionLocation location) { if (element instanceof PsiPresentableMetaData) { return ((PsiPresentableMetaData)element).getTypeName(); } return null; } }; }
@Override public ElementDescriptionProvider getDefaultProvider() { return new ElementDescriptionProvider() { @Override public String getElementDescription(@Nonnull PsiElement element, @Nonnull ElementDescriptionLocation location) { if (element instanceof PsiPresentableMetaData) { return ((PsiPresentableMetaData)element).getTypeName(); } return null; } }; }
@Override public ElementDescriptionProvider getDefaultProvider() { return DEFAULT_PROVIDER; }
@Override public ElementDescriptionProvider getDefaultProvider() { return ourDefaultProvider; }
@Override public ElementDescriptionProvider getDefaultProvider() { return DefaultRefactoringElementDescriptionProvider.INSTANCE; }
@Override public ElementDescriptionProvider getDefaultProvider() { return DefaultNonCodeSearchElementDescriptionProvider.INSTANCE; }