question: @ Inject public ProjectTypeRegistry ( Set < ProjectTypeDef > types ) { projectTypes = new HashMap < > ( ) ; validatedData = new HashMap < > ( ) ; validate ( types ) ; for ( ProjectTypeDef type : validatedData . values ( ) ) { try { init ( type ) ; } catch ( ProjectTypeConstraintException e ) { LOG . error ( e . getMessage ( ) ) ; } } }
target:  Initialises Set of Project Type definitions