out.print(bindingProperty.getProvider().getBody().trim());
out.print("-*/;");
}
private String generateValue(TreeLogger logger, BindingProperty bindingProperty) {
PropertyProviderGenerator propertyProviderGenerator;
try {
propertyProviderGenerator = bindingProperty.getProviderGenerator().newInstance();
} catch (IllegalAccessException e) {
throw new InternalCompilerException("Failed to instantiate property provider generator "
+ bindingProperty.getProviderGenerator());
} catch (InstantiationException e) {
throw new InternalCompilerException("Failed to instantiate property provider generator "
+ bindingProperty.getProviderGenerator());
}
try {
return propertyProviderGenerator.generate(logger,
Sets.newTreeSet(Arrays.asList(bindingProperty.getDefinedValues())),
bindingProperty.getFallback(), configurationProperties);
} catch (UnableToCompleteException e) {
throw new InternalCompilerException("Failed to run property provider generator "