void () { assertNull(JvmPsiRangeSetUtil.typeRange(PsiTypes.floatType())); assertNull(JvmPsiRangeSetUtil.typeRange(PsiTypes.nullType())); assertEquals("{-128..127}", fromTypeStrict(PsiTypes.byteType()).toString()); assertEquals("{0..65535}", fromTypeStrict(PsiTypes.charType()).toString()); assertEquals("{-32768..32767}", fromTypeStrict(PsiTypes.shortType()).toString()); assertEquals("{Integer.MIN_VALUE..Integer.MAX_VALUE}", fromTypeStrict(PsiTypes.intType()).toString()); assertEquals("{0..Integer.MAX_VALUE}", JvmPsiRangeSetUtil.indexRange().toString()); assertEquals("{Long.MIN_VALUE..Long.MAX_VALUE}", fromTypeStrict(PsiTypes.longType()).toString()); }