protected LightweightTypeReference toLightweightTypeReference ( JvmType type , EObject context ) { final StandardTypeReferenceOwner owner = new StandardTypeReferenceOwner ( getServices ( ) , context ) ; final LightweightTypeReferenceFactory factory = new LightweightTypeReferenceFactory ( owner , false ) ; return factory . toLightweightReference ( type ) ; }
Create a lightweight type reference from the given type .