code: @Override
  	public final IResolvedTypes resolveTypes(final /* @Nullable */ EObject object, CancelIndicator monitor) {
  		if (object == null || object.eIsProxy()) {
  			return IResolvedTypes.NULL;
  		}
  		Resource resource = object.eResource();
  		validateResourceState(resource);
  		if (resource instanceof JvmMemberInitializableResource) {
  			((JvmMemberInitializableResource) resource).ensureJvmMembersInitialized();
  		}
  		return doResolveTypes(object, monitor);
  	}
docs: /* @NonNull