LongRangeType (@NotNull PsiType jvmType) { if (jvmType.equals(PsiTypes.longType())) { return LongRangeType.INT64; } else if (jvmType.equals(PsiTypes.intType())) { return LongRangeType.INT32; } throw new UnsupportedOperationException(); }