### Question:
NullableUtils { public static boolean isNotNullable(CtField field) { return !isNullable(field); } private  NullableUtils(); static boolean isNotNullable(CtField field); static boolean isNullable(CtField field);  }### Answer:
@Test public void testIsNotNullable() throws NotFoundException { CtClass clazz = ClassPool.getDefault().get(TestClassWithAnnotatedFields.class.getName()); CtField fieldB = clazz.getField("b"); assertThat(NullableUtils.isNotNullable(fieldB), is(true)); }