final Collation annotation = context( PropertyDef.class ).getAnnotation( Collation.class );
Function ignoreCaseDifferencesFunction;
try
{
ignoreCaseDifferencesFunction = ExpressionLanguageParser.parse( annotation.ignoreCaseDifferences() );
ignoreCaseDifferencesFunction = FailSafeFunction.create( ignoreCaseDifferencesFunction, Boolean.class, false );
}
catch( Exception e )
{
Sapphire.service( LoggingService.class ).log( e );