@ Pure @ SuppressWarnings ( { "checkstyle:returncount" , "npathcomplexity" } ) public static Class < ? > getOutboxingType ( Class < ? > type ) { if ( void . class . equals ( type ) ) { return Void . class ; } if ( boolean . class . equals ( type ) ) { return Boolean . class ; } if ( byte . class . equals ( type ) ) { return Byte . class ; } if ( char . class . equals ( type ) ) { return Character . class ; } if ( double . class . equals ( type ) ) { return Double . class ; } if ( float . class . equals ( type ) ) { return Float . class ; } if ( int . class . equals ( type ) ) { return Integer . class ; } if ( long . class . equals ( type ) ) { return Long . class ; } if ( short . class . equals ( type ) ) { return Short . class ; } return type ; }
Replies the outboxing type for the given type .