GWT ui.xml: support attributes for setters with more than one parameter and arbitrary types (IDEA-130149)

This commit is contained in:
nik
2014-10-10 13:41:06 +04:00
parent 705307dede
commit 4cde4df042
@@ -447,7 +447,7 @@ public class TypeConversionUtil {
return PsiType.VOID.equals(type);
}
public static boolean isBooleanType(PsiType type) {
public static boolean isBooleanType(@Nullable PsiType type) {
return PsiType.BOOLEAN.equals(type) || PsiType.BOOLEAN.equals(PsiPrimitiveType.getUnboxedType(type));
}