DATypeFactory { @Nonnull public static DAType voidDaType() { return VOID_DATYPE; } private  DATypeFactory(); @Nonnull static DAType voidDaType(); @Nonnull static DAType from(@Nonnull Class<?> clazz); @Nonnull static DAType from(@Nonnull Class<?> clazz, @Nonnull List<DAType> typeArgs); @Nonnull static DAType declared(@Nonnull String qualifiedName); @Nonnull static DAType declared(@Nonnull String qualifiedName, @Nonnull List<DAType> typeArgs); @Nonnull static DAType wildcardWithSuperBound(@Nonnull DAType superbound); @Nonnull static DAType wildcardWithExtendsBound(@Nonnull DAType extendsBound);  }
@Test public void voidDaType() throws Exception { DAType daType = DATypeFactory.voidDaType(); assertThat(daType.getKind()).isEqualTo(DATypeKind.VOID); assertThat(daType.getSimpleName()).isEqualTo(DANameFactory.voidDAName()); }