validates the given value is an instance of the target class . concode_field_sep PlaceHolder placeHolder concode_field_sep Type getElementType concode_elem_sep Type getKeyType concode_elem_sep boolean isArrayType concode_elem_sep boolean isMapType concode_elem_sep Type getValueType
B function ( A arg0 , Class < B > arg1 , String arg2 ) { if ( arg0 == null ) { throw new NullPointerException ( format ( "srini_string" , arg2 ) ) ; } checkArgument ( arg1 . isInstance ( arg0 ) , "srini_string" , arg2 , arg1 . getName ( ) , arg0 . getClass ( ) . getName ( ) ) ; return arg1 . cast ( arg0 ) ; }