ClsElementImpl () { if (PsiJavaParserFacadeImpl.getPrimitiveType(myTypeText) != null) { return null; } if (isArray()) { if (myVariance == VARIANCE_NONE) { return getDeepestArrayElement(); } return new ClsTypeElementImpl(this, myTypeText, VARIANCE_NONE, myAnnotations.forBound()); } if (isVarArgs()) { return getDeepestArrayElement(); } return myVariance == VARIANCE_INVARIANT ? null : new ClsJavaCodeReferenceElementImpl(this, myTypeText, myVariance == VARIANCE_NONE ? myAnnotations : myAnnotations.forBound()); }