use of org.robobinding.codegen.apt.element.AptTestHelper in project RoboBinding by RoboBinding.
the class ItemPresentationModelObjectClassGenTest method createPresentationModelInfoFor.
private PresentationModelInfo createPresentationModelInfoFor(Class<?> type) {
WrappedTypeElement typeElement = new AptTestHelper(compilation).typeElementOf(type);
PresentationModelInfoBuilder builder = new PresentationModelInfoBuilder(typeElement, type.getName() + "_IPM", false);
return new OrderedPresentationModelInfo(builder.build());
}
use of org.robobinding.codegen.apt.element.AptTestHelper in project RoboBinding by RoboBinding.
the class PresentationModelObjectClassGenTest method createPresentationModelInfoFor.
private PresentationModelInfo createPresentationModelInfoFor(Class<?> type) {
WrappedTypeElement typeElement = new AptTestHelper(compilation).typeElementOf(type);
PresentationModelInfoBuilder builder = new PresentationModelInfoBuilder(typeElement, type.getName() + "_PM", true);
return new OrderedPresentationModelInfo(builder.build());
}
Aggregations