Utility methods for retrieving the value of an Optional (that is expected to be present) and throwing a customized GLSPServerException if the value is absent.
Especially useful for operation handlers that query elements from the index. e.g. Retrieving source and target for a CreateConnectionOperation.
Utility methods for retrieving the value of an Optional (that is expected to be present) and throwing a customized GLSPServerException if the value is absent.
Especially useful for operation handlers that query elements from the index. e.g. Retrieving source and target for a CreateConnectionOperation.