public abstract class ExpressionTypeProvider<T extends PsiElement>
extends java.lang.Object
ShowExpressionTypeAction| Constructor and Description |
|---|
ExpressionTypeProvider() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAdvancedInformationHint(T element)
Returns HTML string containing advanced type information hint (e.g.
|
abstract java.lang.String |
getErrorHint()
Returns HTML string if no target found at position.
|
abstract java.util.List<T> |
getExpressionsAt(PsiElement elementAt)
Returns the list of all possible targets at specified position.
|
abstract java.lang.String |
getInformationHint(T element)
Returns HTML string for type info hint.
|
boolean |
hasAdvancedInformation() |
public abstract java.lang.String getInformationHint(T element)
StringUtil.escapeXmlEntities(String)public abstract java.lang.String getErrorHint()
public abstract java.util.List<T> getExpressionsAt(PsiElement elementAt)
public boolean hasAdvancedInformation()
getAdvancedInformationHint(PsiElement).public java.lang.String getAdvancedInformationHint(T element)
element - an element to provide information aboutgetInformationHint(PsiElement)
if no additional information is available for given element.java.lang.UnsupportedOperationException - if this provider does not provide any advanced information
(in this case hasAdvancedInformation() method must return false).