comment type annotations usage

This commit is contained in:
Anna.Kozlova
2016-05-24 15:05:33 +02:00
parent 81b99df9cf
commit b199f5eb3e
@@ -233,11 +233,7 @@ public class PsiSubstitutorImpl implements PsiSubstitutor {
final PsiType result = substituteTypeParameter(typeParameter);
if (result != null) {
PsiUtil.ensureValidType(result);
if (result instanceof PsiImmediateClassType ||
result instanceof PsiClassReferenceType ||
result instanceof TypeCorrector.PsiCorrectedClassType ||
result instanceof PsiArrayType ||
result instanceof PsiWildcardType) {
if (false) {
return result.annotate(new TypeAnnotationProvider() {
@NotNull
@Override