Component (JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { if (value instanceof String) { try { final PsiType type = JavaPsiFacade.getElementFactory(myProject).createTypeFromText((String)value, null); String shortName = type.getPresentableText(); return new JLabel(shortName); } catch (IncorrectOperationException e) { LOG.debug("Type cannot be created", e); } return new JLabel(QuickfixUtil.shortenType((String)value)); } return new JLabel(); }