public static Evaluator definitionEvaluator ( HandlerDefinition hda ) { return definitionEvaluators . computeIfAbsent ( hda . evaluator ( ) , key -> { try { return hda . evaluator ( ) . getConstructor ( ) . newInstance ( ) ; } catch ( InstantiationException | IllegalAccessException | IllegalArgumentException | InvocationTargetException | NoSuchMethodException | SecurityException e ) { throw new IllegalStateException ( e ) ; } } ) ; }
Create a new definition evaluator .