else if (type == Boolean.class) {
notNull.invokeStatic(Boolean.class, "valueOf", Boolean.class, boolean.class);
expectedCurrentStackType = boolean.class;
}
else if (type == Void.class) {
notNull.pushNull()
.checkCast(Void.class);
expectedCurrentStackType = void.class;
}
else {
throw new UnsupportedOperationException("not yet implemented: " + type);