String (final String shortClassName) { switch (myVariance) { case VARIANCE_NONE: return shortClassName; case VARIANCE_EXTENDS: return PsiWildcardType.EXTENDS_PREFIX + shortClassName; case VARIANCE_SUPER: return PsiWildcardType.SUPER_PREFIX + shortClassName; case VARIANCE_INVARIANT: return "?"; default: assert false : myVariance; return null; } }