public class JavaTypeProvider extends ExpressionTypeProvider<PsiExpression>
Constructor and Description |
---|
JavaTypeProvider() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAdvancedInformationHint(PsiExpression expression)
Returns HTML string containing advanced type information hint (e.g.
|
java.lang.String |
getErrorHint()
Returns HTML string if no target found at position.
|
java.util.List<PsiExpression> |
getExpressionsAt(PsiElement elementAt)
Returns the list of all possible targets at specified position.
|
java.lang.String |
getInformationHint(PsiExpression element)
Returns HTML string for type info hint.
|
boolean |
hasAdvancedInformation() |
public java.lang.String getInformationHint(PsiExpression element)
ExpressionTypeProvider
getInformationHint
in class ExpressionTypeProvider<PsiExpression>
StringUtil.escapeXmlEntities(String)
public java.lang.String getErrorHint()
ExpressionTypeProvider
getErrorHint
in class ExpressionTypeProvider<PsiExpression>
public java.util.List<PsiExpression> getExpressionsAt(PsiElement elementAt)
ExpressionTypeProvider
getExpressionsAt
in class ExpressionTypeProvider<PsiExpression>
public boolean hasAdvancedInformation()
hasAdvancedInformation
in class ExpressionTypeProvider<PsiExpression>
ExpressionTypeProvider.getAdvancedInformationHint(PsiElement)
.public java.lang.String getAdvancedInformationHint(PsiExpression expression)
ExpressionTypeProvider
getAdvancedInformationHint
in class ExpressionTypeProvider<PsiExpression>
expression
- an element to provide information aboutExpressionTypeProvider.getInformationHint(PsiElement)
if no additional information is available for given element.