public static @Nullable PsiClass getPropertyClass(@Nullable PsiType propertyType, @NotNull PsiElement context) {
    if (propertyType instanceof PsiPrimitiveType) {
      PsiClassType boxedType = ((PsiPrimitiveType)propertyType).getBoxedType(context);
      return boxedType != null ? boxedType.resolve() : null;
    }
    return PsiUtil.resolveClassInType(propertyType);
  }
public static @Nullable PsiClass getPropertyClass(@Nullable PsiType propertyType, @NotNull PsiElement context)