// set config (ignores fields)
String CONFIG = "detail.config.xml";
File file = new File(getResource("configuration/" + CONFIG));
Configuration configuration = new StaticConfiguration(file.getName());
configuration.addMapping(new Mapping("String", "path"));
context.setConfiguration(configuration);
List<MetaProperty> metaProperties = inspector.inspect(context);
UIFragmentComposer composer = new UIFragmentComposer();
composer.addAllFields(metaProperties);