public static LightweightTypeReference toLightweightTypeReference ( JvmType type , CommonTypeComputationServices services , boolean keepUnboundWildcardInformation ) { if ( type == null ) { return null ; } final StandardTypeReferenceOwner owner = new StandardTypeReferenceOwner ( services , type ) ; final LightweightTypeReferenceFactory factory = new LightweightTypeReferenceFactory ( owner , keepUnboundWildcardInformation ) ; final LightweightTypeReference reference = factory . toLightweightReference ( type ) ; return reference ; }
Convert a type to a lightweight type reference .