PsiType (final GrVariable variable) { for (GrVariableEnhancer enhancer : EP_NAME.getExtensions()) { final PsiType type = enhancer.getVariableType(variable); if (type != null) { return type; } } return null; }