if (psiElement instanceof ExecutablePsiElement) annotateExecutable(psiElement, holder);
}
private void annotateToken(TokenPsiElement tokenPsiElement, AnnotationHolder holder) {
TokenTypeCategory flavor = tokenPsiElement.getElementType().getFlavor();
if (flavor != null) {
Annotation annotation = holder.createInfoAnnotation(tokenPsiElement, null);
switch (flavor) {
case DATATYPE: annotation.setTextAttributes(SQLTextAttributesKeys.DATA_TYPE); break;
case FUNCTION: annotation.setTextAttributes(SQLTextAttributesKeys.FUNCTION); break;