public static < C , A > Callbacks < C , A > callbacks ( Class < C > callbackType , Collection < ? extends C > callbackInstances , A argument , Object ... additionalArguments ) { Assert . notNull ( callbackType , "CallbackType must not be null" ) ; Assert . notNull ( callbackInstances , "CallbackInstances must not be null" ) ; return new Callbacks <> ( callbackType , callbackInstances , argument , additionalArguments ) ; }
Start a call to callback instances dealing with common generic type concerns and exceptions .