public ResolvedType alternateFor ( ResolvedType type ) { if ( appliesTo ( type ) ) { if ( hasWildcards ( original ) ) { return replaceWildcardsFrom ( WildcardType . collectReplaceables ( type , original ) , alternate ) ; } else { return alternate ; } } return type ; }
Provides alternate for supplier type .