Sets the computed state of ClassDefinition. This is an internal method that can only be called by providers. Application should not use this method.