public static < C , A > Callback < C , A > callback ( Class < C > callbackType , C callbackInstance , A argument , Object ... additionalArguments ) { Assert . notNull ( callbackType , "CallbackType must not be null" ) ; Assert . notNull ( callbackInstance , "CallbackInstance must not be null" ) ; return new Callback <> ( callbackType , callbackInstance , argument , additionalArguments ) ; }
Start a call to a single callback instance dealing with common generic type concerns and exceptions .