ColorConstructors (int paramCount, PsiType paramType) { return switch (paramCount) { case 1 -> ColorConstructors.INT; case 2 -> ColorConstructors.INT_BOOL; case 3 -> PsiTypes.intType().equals(paramType) ? ColorConstructors.INT_x3 : ColorConstructors.FLOAT_x3; case 4 -> PsiTypes.intType().equals(paramType) ? ColorConstructors.INT_x4 : ColorConstructors.FLOAT_x4; default -> null; }; }